package org.jenkinsci.plugins.p4.review; public enum ReviewProp { STATUS("status"), CHANGE("change"), LABEL("label"), REVIEW("review"), PASS("pass"), FAIL("fail"); public static String NAMESPACE = "p4."; final private String prop; ReviewProp(String prop) { this.prop = prop; } public String toString() { return NAMESPACE + prop; } public String getProp() { return prop; } public static boolean isProp(String prop) { for(ReviewProp p : ReviewProp.values()) { if(p.getProp().equals(prop)) return true; } return false; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 24529 | Paul Allen |
Swarm Commit Event support, refactoring and test. JENKINS-52605 (Fix doc in 'Includes' help bubble for MultiBranch) JENKINS-52066 (Improve Swarm Commit and Branch Event support) |
||
#4 | 24492 | Paul Allen |
Initial work for MultiBranch Event trigger. JENKINS-52066 (Triggered Events and not Polling per change) |
||
#3 | 19581 | Paul Allen | Minor fixes to satisfy FindBugs Analysis. | ||
#2 | 11492 | Paul Allen | Minor Fix: first parent builds and label namespace | ||
#1 | 10755 | Paul Allen |
Separate name space for 'label' parameter. Perforce Review endpoint added `label`, `change`, `status`, `pass`, and `fail` parameter into the environment, which is a shared name space. This clashed with the default `label` matrix name and causing users issues. The change prefixes the review parameters with `p4.` on addition to the environment. |