Update 'Jenkinsfile'

remove withCredentials
This commit is contained in:
Roberto Cirillo 2022-04-04 17:48:54 +02:00
parent 8016e8b393
commit 54a974728b
1 changed files with 0 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -22,13 +22,11 @@ pipeline {
} }
} }
stage('Building image') { stage('Building image') {
withCredentials([string(credentialsId: 'GITHUB_PAT', variable: 'GITHUB_PAT')]) {
steps{ steps{
script { script {
dockerImage = docker.build imagename dockerImage = docker.build imagename
} }
} }
}
} }
} }