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

Missing SCM info/data when using Workflow from SCM

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • pipeline
    • None

      When using workflow script directly from SCM , the repository is checked out into a separate workspace, leading to a need to checkout the exact same scm the second time. Would be nice to have an option to work in the same workspace that has the repository already checked out.

      If that is not possible, would be at least nice to have information about which repository/branch/revision was checked out so that we can check out exact same code the second time instead of having to hardcode same information into the script in SCM and alter it each time we branch.

          [JENKINS-29481] Missing SCM info/data when using Workflow from SCM

          Michael Lasevich created issue -

          Jesse Glick added a comment -

          JENKINS-26129 provides a better option.

          Jesse Glick added a comment - JENKINS-26129 provides a better option.
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26129 [ JENKINS-26129 ]

          Jesse Glick added a comment -

          First request cannot be implemented for security and other reasons. Second request is what JENKINS-26129 would offer, given an appropriately implemented SCMSource.

          Jesse Glick added a comment - First request cannot be implemented for security and other reasons. Second request is what JENKINS-26129 would offer, given an appropriately implemented SCMSource .
          Jesse Glick made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164357 ] New: JNJira + In-Review [ 197480 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

            jglick Jesse Glick
            mlasevich Michael Lasevich
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: