jamieklassen / demo

0 stars 0 forks source link

Manual pipeline recommendation #25

Open ghost opened 6 years ago

ghost commented 6 years ago

maybe include a slack bot which will allow finishing a pipeline step via slack message, by calling out to

curl -d 'json=%7B%22parameter%22%3A%20%5B%5D%7D' \
  -H "content-type:application/x-www-form-urlencoded" \
  -X POST \
  $JENKINS_HOST:8080/job/$JOB_NAME/$BUILD_NUMBER/wfapi/inputSubmit?inputId=$INPUT_ID

or something equivalent

ghost commented 6 years ago

i think the form-urlencoded content type and the POST method are redundant as they are defaults for when the -d flag is present...