Jenkins if declarative I cannot find any existing questions which are true duplicates, because they all assume or allow scripted syntax. g: params. Condition in a step of a declarative pipeline's stage. 2. “Pipeline-as-code” allows Jenkins to treat pipelines as regular files. Jenkins Scripted Pipeline: Groovy if statement. Hot Network Questions Using Jenkins. Ask a question. If you access isFoo using 3) it will have a Boolean value. To be more precise, I want to send an email when the build status changed (from success to failure, or success to unstable, or failure to success). igshrjnficdezlingfqnkcvxnjcutkeitqhpbdsatvxdaiavmeuhvdjpujielpfpzruluju