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