Removed stages - not supported
This commit is contained in:
parent
e677e4560a
commit
c63299aba6
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -27,16 +27,14 @@ spec:
|
|||||||
environment {
|
environment {
|
||||||
MEDUSA_VER = '0.4.2'
|
MEDUSA_VER = '0.4.2'
|
||||||
}
|
}
|
||||||
stages {
|
stage('Build with Kaniko') {
|
||||||
stage('Build with Kaniko') {
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-medusa.git', credentialsId: 'jenkins-to-git'
|
||||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-medusa.git', credentialsId: 'jenkins-to-git'
|
container('kaniko') {
|
||||||
container('kaniko') {
|
sh "/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:0.4 --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:v${MEDUSA_VER}"
|
||||||
sh "/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:0.4 --destination=harbor.ervine.dev/public/x86_64/alpine/medusa:v${MEDUSA_VER}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Notify gchat') {
|
stage('Notify gchat') {
|
||||||
hangoutsNotify message: "Medusa ${MEDUSA_VER} on openSUSE Leap 15.2 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
hangoutsNotify message: "Medusa ${MEDUSA_VER} on openSUSE Leap 15.2 has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user