So I'm using Perforce in conjonction with Jenkins, and I use p4triggers to trigger a Jenkins build. Triggers look like that
UPWSP change-commit //depot/up/valiconnect/current/... "wget --auth-no-challenge --http-user=jenkins --http-password=password --secure-protocol=TLSv1 http://jenkins/job/UPWSP/build?token=perforce"
I'm in charge of Jenkins, and I'm creating every job needed for the dev team. I would like to automate the creation of jobs concerning Perforce branch of existing projects.
I'm close to do it, but I need to add a triggers via command line, and I don't know how to do it. I used to create triggers with