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

Team Concert incorrectly clearing jenkins workspace prior to a build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When using pipeline jenkins job and trying to load the pipeline script from SCM (RTC) using a repository workspace, the jenkins workspace is always deleted. Works  (is NOT deleted) when the pipeline is provided directly or if load from a stream is selected.

      As best as I can tell, loading from a stream is not a perfect workaround because workspaces often have scoped components to limit unrelated checkins triggering a build.

      Plugin version 2.2

      RTC version 6.0.6.1

      Jenkins version 2.263.4

      Also asked here |https://jazz.net/library/article/92827]

        Attachments

          Activity

          Hide
          vtwaldo21 Brett Alex added a comment -

          Using

          options {skipDefaultCheckout(true)}

          is a decent workaround to this bug.

          Show
          vtwaldo21 Brett Alex added a comment - Using options {skipDefaultCheckout(true)} is a decent workaround to this bug.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vtwaldo21 Brett Alex
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: