summaryrefslogtreecommitdiffstats
path: root/test/ete/scripts/post-jenkins-results.sh
blob: 7beba0e3aa15b9e54ffa66173e5352ecce6a40d9 (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:929b8c2bea4c4c6847778f8cd6241cbf" -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