Browse Source

Restructure Jenkinsfile

master
Gyulai Dániel 4 years ago
parent
commit
2b8427d4a1
  1. 12
      Jenkinsfile

12
Jenkinsfile

@ -77,14 +77,18 @@ spec:
sh 'docker push docker.local/bme/covidok:latest' sh 'docker push docker.local/bme/covidok:latest'
} }
} }
container('helm'){ stage('Archive chart'){
post{
always {
sh '/home/jenkins/agent/workspace/gitea-bme_covidok-backend_master/ci/cleanup.sh'
archiveArtifacts artifacts: '/home/jenkins/agent/workspace/gitea-bme_covidok-backend_master/covidok*tgz', followSymlinks: false, onlyIfSuccessful: true archiveArtifacts artifacts: '/home/jenkins/agent/workspace/gitea-bme_covidok-backend_master/covidok*tgz', followSymlinks: false, onlyIfSuccessful: true
} }
} }
} }
post {
always {
node(POD_LABEL) {
container('helm') {
sh '/home/jenkins/agent/workspace/gitea-bme_covidok-backend_master/ci/cleanup.sh'
}
}
} }
} }
} }

Loading…
Cancel
Save