ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major
    • Component/s: p4-plugin
    • None
    • Environment:

      We're trying to checkout using pipeline plugin + p4. It works when working with stream name only, but fails when we try to configure views:

      Jenkins pipeline snippet:
      checkout([$class: 'PerforceScm', browser: [$class: 'FishEyeBrowser', rootModule: '', url: 'https://fisheye'], credential: 'xxxxxxxx', populate: [$class: 'ForceCleanImpl', have: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', path: '/usr/local/bin/p4', threads: '4'], pin: '', quiet: true], workspace: [$class: 'ManualWorkspaceImpl', charset: 'none', name: '${JOB_NAME}', pinHost: false, spec: [allwrite: false, clobber: false, compress: false, line: 'LOCAL', locked: false, modtime: false, rmdir: false, streamName: '',
      view: '''-//my/path/... //${JOB_NAME}/...
      //my/path/x/y/z/... //${JOB_NAME}/...''']]])
      Error:
      P4: Unable to setup workspace: hudson.AbortException: P4: invalid client view: //my/path/x/y/z/... //jobname/..

            Assignee:
            Unassigned
            Reporter:
            boris avney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: