Set Env Variables for SCM with Checkout SCM

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

XMLWordPrintable

      Now that JENKINS-26100 has been resolved we should bake this into Declarative, too.

      This works fine in Scripted to set all scm properties into env variables:

      checkout(scm).each { k,v -> env.setProperty(k, v) }

      We should build this into Declarative by default.

       

            Assignee:
            Andrew Bayer
            Reporter:
            Patrick Wolf
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: