diff --git a/Jenkinsfile b/Jenkinsfile index d350d01..a75f3f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,7 @@ library 'aws-access-keys@master' pipeline { - agent { label 'ubuntu-build-slave-java17' } + agent { label 'ubuntu-build-slave-java17' } parameters { string(name: 'SDK_RELEASE_TAG', defaultValue: '', description: 'Supply version to deploy to repo1 (e.g., 4.4.100). Leave empty to deploy to reporting-new-nexus.') } @@ -92,7 +92,7 @@ def buildCode() { // Git tag release (instruction #5: artifact flow) sh(script: "git tag ${artifactTag} ${commitHash}") withCredentials([usernamePassword(credentialsId: '2cb048f3-6369-4220-bbb7-2668527a8c22', passwordVariable: 'GIT_TOKEN', usernameVariable: 'GIT_USERNAME')]) { - sh "git push https://${GIT_USERNAME}:${GIT_TOKEN}@${repositoryUrl} --tags" + sh "git push https://${GIT_USERNAME}:${GIT_TOKEN}@${repositoryUrl} --tags" } } else { echo "No deployment: branch=${BRANCH_NAME}" @@ -105,4 +105,4 @@ def buildCode() { } } echo "Current build currentResult (buildCode): ${currentBuild.currentResult}" -} \ No newline at end of file +}