El martes, 2 de julio de 2019, 18:44:39 (UTC+2), Nalin Garg escribió:
>
> I had a similar need. I ended up querying git to give list of all files 
> that were changed in PR. And then have logic around what files would be 
> wrapped in "if, else"/ "when" block. 
>  
>

I preffer to use `when` at stage level it is cleaner 
https://jenkins.io/doc/book/pipeline/syntax/#when 

-- 
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/705b236b-e627-4605-bb01-f1033a399d4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to