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

when p4publish failed to submit, it returns true

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      P4 Plugin 1.8.10
      Pipeline 2.5
    • Similar Issues:

      Description

       

      After build my project, I'm trying to publish my executable files on perforce.

      It failed to publish cause of reason below
      Unable to publish workspace: com.perforce.p4java.exception.P4JavaException: com.perforce.p4java.exception.P4JavaException: hudson.AbortException: P4JAVA: Error(s):
      Currently only user 'a' can submit to stream '//Project'.
      but StageView displays it successed

       

      the code is below.

      stage('Publish'){
      p4publish credential: '26d871e3-a53a-42c1-8d36-0aa0ea6b17f1',
      publish: submit(
      delete: false, description: 'Submitted by Jenkins. Build: ${BUILD_TAG}',
      onlyOnSuccess: false, purge: '', reopen: false
      ),
      workspace: manualSpec(
      charset: 'none', name: 'jenkins-${NODE_NAME}-${JOB_NAME}',
      pinHost: false,
      spec: clientSpec(
      allwrite: false, backup: false, clobber: false, compress: false,
      line: 'LOCAL', locked: false, modtime: false, rmdir: false,
      serverID: '', streamName: '//Project/Binary', type: 'WRITABLE',
      view: '''
      //bin/Loader.exe //jenkins-${NODE_NAME}-${JOB_NAME}/bin/Loader.exe
      //bin/Script/N.exe //jenkins-${NODE_NAME}-${JOB_NAME}/bin/Script/N.exe
      //bin/Script/T.exe //jenkins-${NODE_NAME}-${JOB_NAME}/bin/Script/T.exe
      '''
      )
      )
      }
      

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              p4karl Karl Wirth
              Reporter:
              nolimitk Jon Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: