jenkinsfile: add debugguing statements

This commit is contained in:
Frédéric Péters 2019-07-02 12:03:56 +02:00
parent cb600b7180
commit b06a5b3d2a
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -23,6 +23,8 @@ pipeline {
stage('Packaging') {
steps {
script {
echo "current job: ${env.JOB_NAME}"
echo "current branch: ${env.GIT_BRANCH}"
if (env.JOB_NAME == 'combo' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch combo'
}