Karl Wirth
added a comment - Simple example of a review Approve and Commit:
curl -u "username:password" -X PATCH -d "state=approved" -d "commit=1" \
"https: //my-swarm-host/api/v6/reviews/123/state/"
From: Swarm 2017.2 API Guide
Just so I fully understand you would like Jenkins to be able to vote up/down the Swarm review as a step. I could extend P4Approve (by adding a 'Vote Up'/'Vote Down' in the dropdown).
Paul Allen
added a comment - Just so I fully understand you would like Jenkins to be able to vote up/down the Swarm review as a step. I could extend P4Approve (by adding a 'Vote Up'/'Vote Down' in the dropdown).
Simple example of a review Approve and Commit:
From: Swarm 2017.2 API Guide