Re: Jenkins Pipeline: input step filled via remote script/curl

2016-08-23 Thread Miłosz Tyborowski
-H "Jenkins-Crumb:${JENKINS_CRUMB}" -d json='{"parameter": {"name": "${PARAMETER_NAME}", "value": "${PARAMETER_VALUE}"}}' -d proceed= '${SUBMIT_CAPTION}' 'http://j${JENKINS_URL}/job/${JOB_NAME}/${BUILD_ID}/inp

Jenkins Pipeline: input step filled via remote script/curl

2016-08-18 Thread Miłosz Tyborowski
quot;:{"name":"result_payload","value":"asd"},"Jenkins-Crumb":"${JENKINS_CRUMB}"}' None of which succeeded. The URL I'm POSTing at is the same, as the one linked in build log (Console output): http://${JENKINS_URL}/job/${JOB_NAM

Jenkins Pipeline: input step filled via remote script/curl

2016-08-18 Thread Miłosz Tyborowski
Hello everyone. Recently I have been testing Jenkins Pipeline. So far it seems like a wonderful idea, however as beautiful as it looks I run into a problem, a deal-breaker for me as it turns out. I have Jenkins pipeline with an Input step, and I would like to submit this input(single string a

Jenkins Pipeline: sending input data via script.

2016-08-18 Thread Miłosz Tyborowski
Hello everyone. Recently I have been testing Jenkins Pipeline. So far it seems like a wonderful idea, however as beautiful as it looks I run into a problem, a deal-breaker for me as it turns out. I have Jenkins pipeline with an Input step, and I would like to submit this input(single string a