Changeset View
Changeset View
Standalone View
Standalone View
jobs/tools/jenkins-jobs-builder.groovy.j2
Show All 31 Lines | stage('Update Jenkins jobs and setup gitlab webhooks') { | ||||
anyOf { | anyOf { | ||||
expression { !env.gitlabSourceBranch } | expression { !env.gitlabSourceBranch } | ||||
expression { "${env.gitlabSourceBranch}" == "master" } | expression { "${env.gitlabSourceBranch}" == "master" } | ||||
} | } | ||||
} | } | ||||
steps { | steps { | ||||
script { | script { | ||||
sh('tox -- update --delete-old') | sh('tox -- update --delete-old') | ||||
build( | |||||
job: '/jenkins-tools/setup-gitlab-webhooks', | |||||
) | |||||
} | } | ||||
} | } | ||||
} | } | ||||
} | } | ||||
post { | post { | ||||
failure { | failure { | ||||
updateGitlabCommitStatus name: 'jenkins', state: 'failed' | updateGitlabCommitStatus name: 'jenkins', state: 'failed' | ||||
Show All 9 Lines |