diff --git a/Jenkinsfile b/Jenkinsfile index 09fb5680..5dd7e383 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,6 @@ pipeline{ script: 'date "+%Y-%m-%d-%H-%M-%S"' )}""" - GIT_REPO_NAME = GIT_URL.split('/')[-1].split('.git')[0] } @@ -29,7 +28,7 @@ pipeline{ causeString: 'Triggered on $ref', - token: GIT_REPO_NAME, + token: GIT_URL.split('/')[-1].split('.git')[0], tokenCredentialId: '', printContributedVariables: true,