When defining an CI Job action you get the info:
Tuleap will automatically pass following parameters to the job:
- userId: Identifier (integer) of Tuleap user who made the transition
- projectId: Identifier (integer) of the current project (ie. 116)
- trackerId: Identifier (integer) of the current tracker (ie. 69)
- artifactId: Identifier (integer) of the artifact where the transition happens
- triggerFieldValue: Value (string) of current transition target (ie. Building)
I've already tried build with and without parameters option in jenkins
- http://server:8080/view/CBASEapps/job/ca_itemlist/buildWithParameters?token=1234
- http://server:8080/view/CBASEapps/job/ca_itemlist/
How these parameters will be added to the request: URL params (?userId=XXX) or in Body?
I cannot get the values inside the jobs. My script:
echo "Values: $userId $projectId $trackerId $artifactId $triggerFieldValue"