Class PromotionsContext

java.lang.Object
hudson.plugins.promoted_builds.integrations.jobdsl.PromotionsContext
All Implemented Interfaces:
javaposse.jobdsl.dsl.Context

public class PromotionsContext extends Object implements javaposse.jobdsl.dsl.Context
  • 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