Evaluate environment variables in declarative stage conditions

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      It would be super useful to allow the evaluation of environment variables and possibly also properties in when {} blocks, so that one define / and or use global properties to decide whether or not certain stages should run. Idea:

      when {
        any {
          branch env.BRANCH_NAME
          changelog properties.changeLog
        } 
      } 
      

       

            Assignee:
            Unassigned
            Reporter:
            Thomas Keller
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: