generated from gCubeCI/Pipeline-Docker-Template
parent
19316174df
commit
7601e9edc2
|
@ -23,8 +23,10 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Building image') {
|
stage('Building image') {
|
||||||
steps{
|
steps{
|
||||||
script {
|
withCredentials([string(credentialsId: 'GITHUB_PAT', variable: 'GITHUB_PAT')]) {
|
||||||
dockerImage = docker.build imagename
|
script {
|
||||||
|
dockerImage = docker.build imagename
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue