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

Option to resolve text files as part of p4publish step

XMLWordPrintable

      In my jenkins job after build and test I do npm package version update and do publish using p4publish. All this process takes 5-7 minutes. But p4publish reverts the changes published during this 5-7 minutes and publishes the version upgrades.

       

      {{p4publish(
      credential: 'jenkins',
      publish: submit(
      delete: false,
      modtime: false,
      onlyOnSuccess: false,
      reopen: false,
      description: 'update package version',
      ),
      workspace: streamSpec(
      pinHost: false,
      charset: 'utf8',
      format: 'jenkins-${NODE_NAME}${JOB_NAME}-agent${EXECUTOR_NUMBER}',
      streamName: '//project/mystream'
      )
      )}}

      Is there a way I can avoid reverting the changes and possibly sync the changes and resolve any conflicts before publishing?

            Unassigned Unassigned
            ramganesht Ram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: