Update Jenkinsfile
This commit is contained in:
parent
d8c836d212
commit
20b4a54a67
1 changed files with 0 additions and 5 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -13,8 +13,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
docker.withRegistry('https://git.adrianux.net/ahoemann/') {
|
docker.withRegistry('https://git.adrianux.net/ahoemann/') {
|
||||||
|
|
||||||
/* Build the container image */
|
/* Build the container image */
|
||||||
|
@ -23,9 +21,6 @@ pipeline {
|
||||||
/* Push the container to the custom Registry */
|
/* Push the container to the custom Registry */
|
||||||
dockerImage.push()
|
dockerImage.push()
|
||||||
}
|
}
|
||||||
/* Remove docker image*/
|
|
||||||
sh 'docker rmi -f adrianux:${env.BUILD_ID}'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue