6

Is there any way (like Jenkins REST API or Python module) to set the existing jenkins build's build description ?

Many thanks :)

JiangLing
  • 367
  • 1
  • 3
  • 14

1 Answers1

14

It seems this problem was resolved in this question, as follows:

curl -u $USER:$PASSWORD --data-urlencode "description=$new_description" \
    --data-urlencode "Submit=Submit" \
    "$jenkins_url/job/$job_name/$build_number/submitDescription"
Allan Lewis
  • 308
  • 3
  • 13
JiangLing
  • 367
  • 1
  • 3
  • 14