forked from jenkinsci/workflow-durable-task-step-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recover gracefully when a
PlaceholderTask
is in the queue but the a…
…ssociated build is complete (jenkinsci#185) * Add ignored test where a PlaceholderTask is in the queue but the associated build is complete * Update annotation to explain why test is ignored Co-authored-by: Jesse Glick <jglick@cloudbees.com> * Simplify test using JenkinsSessionRule.getHome and TemporaryFolder * De-flake test and update to released version of jenkins-test-harness * Check if build is complete in PlaceholderTask.getCauseOfBlockage and if so, block execution and cancel task * Simplify lambda in PlaceholderTask.getCauseOfBlockage Co-authored-by: Jesse Glick <jglick@cloudbees.com> Co-authored-by: Jesse Glick <jglick@cloudbees.com>
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters