CpsScmFlowDefinition does not resolve variables

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

XMLWordPrintable

      When selecting the "Groovy CPS DSL from SCM" option for a worflow job, the SCM plugins do not appear to resolve build parameters or environment variables. I am using the git plugin and when I use it from other jobs I can specify a build parameter, like "BuildBranch", and use that when specifying what branch should be built:

      Branches to build: */${BuildBranch}

      This does not work when I use the Groovy CPS DSL from SCM.

            Assignee:
            Jesse Glick
            Reporter:
            Nicholas Newland
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: