streamAtSync option only work for new workspaces

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: 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

            Assignee:
            Unassigned
            Reporter:
            Morne Joubert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: