Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 for Jenkins Documentation | 1.17.3

# p4swarmupdate: P4 P4 Code Review Update

Use `p4SwarmUpdate` to send a custom message from Jenkins to P4 Code Review. Add a valid P4 Code Review URL to the update field in Build Review.

## Example p4SwarmUpdate: P4 P4 Code Review Update configuration

### Paste the script snippet into a basic script

Example: the script snippet above has been pasted into a basic script:

    pipeline {
        agent any
        stages {
            stage('Hello') {
                steps {
                    p4SwarmUpdate 'Custom Message to send to p4CodeReview'
                }
            }
        }
    }

### Generate Pipeline Script

To generate the pipeline script, click Generate Pipeline Script. The script is generated in the text box below the button.

Copy the generated script and paste it into the Script box on the Jenkins Pipeline Script page.

Your search for returned results