This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plugins { | |
| id 'maven-publish' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!groovy | |
| pipeline { | |
| stages { | |
| stage('Check for CHANGELOG update') { | |
| when { expression { env.BRANCH_NAME != 'master' } } | |
| steps { | |
| script { | |
| sshagent(['CREDENTIAL_NAME']) { | |
| sh "git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sh "git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master" | |
| sh "git fetch --no-tags" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!groovy | |
| pipeline { | |
| stages { | |
| stage('Check for CHANGELOG update') { | |
| when { expression { env.BRANCH_NAME != 'master' } } | |
| steps { | |
| script { | |
| // Replace this with your SSH creds for git | |
| sshagent(['CREDENTIAL_NAME']) { | |
| List<String> sourceChanged = sh(returnStdout: true, script: "git diff --name-only origin/master..origin/$").split() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git diff --name-only origin/master..origin/branch-to-compare |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TERRAFORM_VERSION := 0.11.7 | |
| TERRAFORM_LOCATION := .tf | |
| TERRAFORM_BINARY := $(CURDIR)/.tf/terraform | |
| PLATFORM := $(shell uname | tr '[:upper:]' '[:lower:]') | |
| # Download the correct terraform version | |
| get-terraform: | |
| @curl -o tf_tmp.zip https://releases.hashicorp.com/terraform/$(TERRAFORM_VERSION)/terraform_$(TERRAFORM_VERSION)_$(PLATFORM)_amd64.zip | |
| @unzip -o -d .tf tf_tmp.zip | |
| @rm tf_tmp.zip | |
| # Check if Terraform binary exists, otherwise download it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Template.home.rendered = function() { | |
| $('body').html('blah'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .container { | |
| font-size: 18px; | |
| @media (min-width: 768px) { | |
| font-size: 12px; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add in row and column centering | |
| .row-centered { | |
| text-align:center; | |
| } | |
| .col-centered { | |
| display:inline-block; | |
| float:none; | |
| /* reset the text-align */ | |
| text-align:left; | |
| /* inline-block space fix */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function test() { | |
| console.log("This is a test"); | |
| } | |
NewerOlder