- Jenkins 1.509 or greater.
- P4D 2012.1 or greater.
- Minimum Perforce Protection of
open
for the Jenkins user. - Review Build feature requires Swarm 2014.2 or greater.
- Open Jenkins in a browser; e.g. http://jenkins_host:8080
- Browse to 'Manage Jenkins' --> 'Manage Plugins' and Select the 'Available' tab.
- Find the 'P4 Plugin' or use the Filter if needed
- Check the box and press the 'Install without restart' button
If you are unable to find the plugin, you may need to refresh the Update site.
- Select the 'Advanced' tab (under 'Manage Plugins')
- Press the 'Check now' button at the bottom of the page.
- When 'Done' go back to the update centre and try again.
To build the plugin and run the tests use the following:
mvn package
Note: for the tests to run you must have p4d in your PATH, to skip tests use the -DskipTests flag.
Lastest SNAPSHOT builds available here.
- Open Jenkins in a browser; e.g. http://jenkins_host:8080
- Browse to 'Manage Jenkins' --> 'Manage Plugins’ and Select the 'Advanced' tab.
- Press the 'Choose File' button under the 'Upload Plugin' section
- Find the location of the 'p4.hpi' file and Select Upload
- Choose the 'Download now and install after restart' button (this might be different on the newer version)