Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45198

Set Env Variables for SCM with Checkout SCM

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                hrmpw Patrick Wolf
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: