Manual Configuration for Trigger


Automating the Perforce Jenkins Trigger

Typically the '/p4/change' end-point is called by a Perforce 'change-commit' trigger. A POST to '/p4/change' with a JSON payload of 'p4port' and 'change' e.g.

curl --header 'Content-Type: application/json' --request POST --data "payload={change:200,p4port:\"perforce.com:1666\"}" http://jenkins:8080/p4/change

Only jobs registered to trigger, with matching Perforce Credentials specifying the same P4Port, are triggered to look for updates.