Class CounterHelper
java.lang.Object
com.tikal.jenkins.plugins.multijob.counters.CounterHelper
Helper methods for counters.
-
Method Summary
Modifier and TypeMethodDescriptionputPhaseAddMultijobAndMergeTheRest
(BuildListener listener, String phaseName, Map<String, String> incomingVars, Map<String, String> previousEnvVars) Put the counters in phase variables, add the counters to the multijob variables, and merge all in previous variables.
-
Method Details
-
putPhaseAddMultijobAndMergeTheRest
public static Map<String,String> putPhaseAddMultijobAndMergeTheRest(BuildListener listener, String phaseName, Map<String, String> incomingVars, Map<String, String> previousEnvVars) Put the counters in phase variables, add the counters to the multijob variables, and merge all in previous variables.- Parameters:
listener
- listenerphaseName
- phaseNameincomingVars
- incomingVarspreviousEnvVars
- previousEnvVars- Returns:
- Map
-