Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #16 from cliffmeyers/bug/JENKINS-47219-skipped-par…
…allel-stage-wrong-status Bug/jenkins 47219 skipped parallel stage wrong status
- Loading branch information
Showing
with
98 additions
and 4 deletions.
- +7 −1 pom.xml
- +20 −0 src/main/java/org/jenkinsci/plugins/workflow/pipelinegraphanalysis/StageStatus.java
- +12 −2 src/main/java/org/jenkinsci/plugins/workflow/pipelinegraphanalysis/StatusAndTiming.java
- +1 −1 src/test/java/org/jenkinsci/plugins/workflow/pipelinegraphanalysis/StageTest.java
- +58 −0 src/test/java/org/jenkinsci/plugins/workflow/pipelinegraphanalysis/StatusAndTimingTest.java
@@ -0,0 +1,20 @@ | ||
package org.jenkinsci.plugins.workflow.pipelinegraphanalysis; | ||
|
||
/** | ||
* Duplicates some string constants used in pipeline-stage-tags-metadata plugin to avoid introducing the dependency. | ||
* See: https://github.com/jenkinsci/pipeline-model-definition-plugin/tree/master/pipeline-stage-tags-metadata | ||
* | ||
* @author cliffmeyers | ||
*/ | ||
public class StageStatus { | ||
|
||
public static final String TAG_NAME = "STAGE_STATUS"; | ||
|
||
public String getTagName() { | ||
return TAG_NAME; | ||
} | ||
|
||
public static String getSkippedForConditional() { | ||
return "SKIPPED_FOR_CONDITIONAL"; | ||
} | ||
} |