Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Move GitHub 'pending' status update before the lock #355

Merged
merged 1 commit into from
Feb 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ def apps = [
timestamps {
node("publishing-e2e-tests") {
initializeParameters(govuk, apps)

originBuildStatus("Running publishing end-to-end tests on Jenkins", "PENDING", params)

lock("publishing-e2e-tests-$NODE_NAME") {
try {
originBuildStatus("Running publishing end-to-end tests on Jenkins", "PENDING", params)

stage("Clean workspace") {
checkout(scm)
sh("make -j clean_tmp clean_apps")
Expand Down