How to I set my After Successful Build Plan trigger's "Use a custom plan branch" to develop

Christine Mccune
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2020

I am using the Pipeline.java file to configure my project's build and deploy features.

 

I would like to add the "After Successful Build Plan" trigger to my deployment configuration, however I can't figure out what the syntax is in the pipeline.java file to set the "Use a custom plan branch" to "develop".  Below is the code I have so far, any help would be greatly appreciated

 

 

new CloudFoundryBlueGreenFileDeployment(PIPELINE_CONFIGURATION)
            .autoDeployAfterSuccessfulBuild("development")
            .addOns(ADD_ONS)
            .publish();

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events