print working dir before starting build
This commit is contained in:
7
dockerfiles/services/sslproxy/Jenkinsfile
vendored
7
dockerfiles/services/sslproxy/Jenkinsfile
vendored
@@ -28,15 +28,16 @@ pipeline {
|
|||||||
stage('build') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
dir(WORKDIR) {
|
dir(WORKDIR) {
|
||||||
withDockerRegistry(credentialsId: 'b11d7f1a-81ac-4daf-8842-56afc0d2370e', url: 'http://dkregistry.xai-corp.net:5000') {
|
withDockerRegistry(credentialsId: 'b11d7f1a-81ac-4daf-8842-56afc0d2370e', url: 'http://dkregistry.xai-corp.net:5000') {
|
||||||
// script {
|
// script {
|
||||||
// docker.withRegistry('http://dkregistry.xai-corp.net:5000', 'b11d7f1a-81ac-4daf-8842-56afc0d2370e') {
|
// docker.withRegistry('http://dkregistry.xai-corp.net:5000', 'b11d7f1a-81ac-4daf-8842-56afc0d2370e') {
|
||||||
// def customImage = docker.build("dkregistry.xai-corp.net:5000/sslproxy:2.1", "-f ${DOCKERFILE} .")
|
// def customImage = docker.build("dkregistry.xai-corp.net:5000/sslproxy:2.1", "-f ${DOCKERFILE} .")
|
||||||
// customImage.push()
|
// customImage.push()
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
sh "xai build"
|
sh "pwd"
|
||||||
}
|
sh "xai build"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user