We have commands to get last_build_number
, get_build_console_output
, build_job_url
etc with python_jenkins . But, I want to fetch the url of the latest successful build a jenkins job that executes selenium test. Is there any way to get it with either python-jenkins or any other method. Please share it to me.
Thanks in advance
See this example for getting next build number. You need to replace nexBuildNumber with lastSuccessfulBuild
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.