aboutsummaryrefslogtreecommitdiffstats
path: root/test/ete/scripts/post-jenkins-results.sh
blob: 8e01e6cde2075f5ba81c6dd1616077c247f91b3c (plain)
1
2
3
4
5
6
#!/bin/bash -x

CRUMB=$(curl -s -u "lf:lf" 'http://12.234.32.117/jenkins/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)')

curl -v -u "lf:eea50a6d845752e1d2fa459a3c0ca25e" -H "$CRUMB" -d '<run><log encoding="hexBinary">4142430A</log><result>0</result><duration>17</duration></run>' http://12.234.32.117/jenkins/job/external-job/postBuildResult