Skip to content

Commit

Permalink
Fix release process, more verbose errors (#265)
Browse files Browse the repository at this point in the history
* Jenkinsfile: be more verbose about failures

* Jenkinsfile: one more K_VERSION correction

* !!! Jenkinsfile: debugging

* Revert "!!! Jenkinsfile: debugging"

This reverts commit 2a38bd1.
  • Loading branch information
ehildenb authored Apr 13, 2021
1 parent e87c1b3 commit f0afc0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ pipeline {
branch 'master'
beforeAgent true
}
post { failure { slackSend color: '#cb2431' , channel: '#iele-internal' , message: "Packaging Phase Failed: ${env.BUILD_URL}" } }
stages {
stage('Build Package') {
agent {
Expand Down Expand Up @@ -160,6 +161,7 @@ pipeline {
branch 'master'
beforeAgent true
}
post { failure { slackSend color: '#cb2431' , channel: '#iele-internal' , message: "Packaging Phase Failed: ${env.BUILD_URL}" } }
environment {
DOCKERHUB_TOKEN = credentials('rvdockerhub')
BIONIC_COMMIT_TAG = "ubuntu-bionic-${env.SHORT_REV}"
Expand Down Expand Up @@ -243,7 +245,7 @@ pipeline {
agent {
dockerfile {
label 'docker'
additionalBuildArgs '--build-arg K_COMMIT=$(cat deps/k_release | cut --delimiter="-" --field="2") --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g)'
additionalBuildArgs '--build-arg K_COMMIT=${K_VERSION} --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g)'
}
}
post { failure { slackSend color: '#cb2431' , channel: '#iele-internal' , message: "Deploy Phase Failed: ${env.BUILD_URL}" } }
Expand Down

0 comments on commit f0afc0a

Please sign in to comment.