Hi,

I try to translate my Groovy PostBuild to pipeline:

*if(manager.build.result.isBetterOrEqualTo(hudson.model.Result.SUCCESS)) *
*{*
*    
manager.addShortText("${manager.build.buildVariables.get('APPLY_TAG')}")*
*}*

I was thinking about using this:

*if(manager.build.result.isBetterOrEqualTo(hudson.model.Result.SUCCESS)) *
*{*
* manager.addShortText("${APPLY_TAG}");*
*}*

But it doesn't work. Anyone have any idea?

Jerome

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/26cede58-97e2-45c2-832b-1385013b8d51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to