Class PromotionsContext
java.lang.Object
hudson.plugins.promoted_builds.integrations.jobdsl.PromotionsContext
- All Implemented Interfaces:
javaposse.jobdsl.dsl.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
promotion
(groovy.lang.Closure<?> promotionClosure) See the examples below.
-
Constructor Details
-
PromotionsContext
public PromotionsContext(javaposse.jobdsl.plugin.DslEnvironment dslEnvironment)
-
-
Method Details
-
promotion
public void promotion(groovy.lang.Closure<?> promotionClosure) See the examples below. PromotionNodes:1. <string>dev</string> 2. <string>test</string> AND Sub PromotionNode for every promotion: 1. <project> <name>dev</name> . . . </project> 2. <project> <name>test</name> . . . </project>
- Parameters:
promotionClosure
- Input closure
-