Hi all,

Let's say I have a Jenkinsfile for a job that is normally built with Build 
Parameters, and so has params.FOO in it. Then let's say that I want to also 
be able to automatically build this using a  ultibranch pipeline job. 
Obviously, params.FOO will be undefined, causing the job to fail; is it 
possible to write the Jenkinsfile to check if a variable is undefined?

Thanks!
Jack

-- 
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/172dd537-83d9-4850-9cdb-661377ae158a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to