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

Missing SCM info/data when using Workflow from SCM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            JENKINS-26129 provides a better option.

            Show
            jglick Jesse Glick added a comment - JENKINS-26129 provides a better option.
            Hide
            jglick 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.

            Show
            jglick 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 .

              People

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

                Dates

                Created:
                Updated:
                Resolved: