简体   繁体   中英

How to set the build description via Jenkins REST API or Python?

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

Many thanks :)

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"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM