mirror of
https://github.com/chillout2k/sos-milter.git
synced 2025-12-11 01:30:19 +00:00
Jenkins test stage with inside
This commit is contained in:
parent
05d6fe7670
commit
07378f9094
@ -1,10 +1,12 @@
|
||||
pipeline {
|
||||
|
||||
agent any
|
||||
|
||||
environment {
|
||||
CI = 'true'
|
||||
dockerImage = ''
|
||||
imageName = 'sos-milter'
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Build image') {
|
||||
steps {
|
||||
@ -28,7 +30,9 @@ pipeline {
|
||||
stage('Push image') {
|
||||
steps {
|
||||
script {
|
||||
dockerImage.push()
|
||||
docker.withRegistry('https://dockreg-fra.zwackl.de') {
|
||||
dockerImage.push()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user