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

Option to resolve text files as part of p4publish step

      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?

          [JENKINS-65048] Option to resolve text files as part of p4publish step

          Ram created issue -
          Ram made changes -
          Priority Original: Critical [ 2 ] New: Blocker [ 1 ]
          Karl Wirth made changes -
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Karl Wirth made changes -
          Summary Original: p4publish reverts changes submitted while job is running New: Option to resolve text files as part of p4publish step
          Karl Wirth made changes -
          Labels New: P4_A P4_VERIFY
          Naveen Boni made changes -
          Assignee New: Naveen Boni [ naveenboni ]

            naveenboni Naveen Boni
            ramganesht Ram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: