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

streamAtSync option only work for new workspaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None

      streamAtSync option only work for new workspaces

      Very simple to test

      create a brand new workspace

      checkout perforce(credential: 'some_credential', populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), 
        workspace: streamSpec(charset: 'none', format: 'jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}', pinHost: false,   streamAtChange: '12356',   streamName: '//Some stream'))
      

      streamAtChange: '12356' is corrently set when looking at the workspace spec

      ran a second time with no streamAtChange or a different value

      the workspace is not changed

      My previous pull request did have this fix, will see if a can do another pull request with the fixes in

            Unassigned Unassigned
            mornejoubert Morne Joubert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: