Hi Neel,
It depends what type of job do you have.
For pipeline you can look to this article
https://support.cloudbees.com/hc/en-us/articles/218554077-How-to-set-current-build-result-in-Pipeline-
19.10.2017 16:31, Neel Desai пишет:
Hello All,
I want to change the status of my jenkins job based on the result of
other parameter's value. How can I do that? I would prefer the through
Jenkins REST API. If I can change with rest api, then it would be best
solution.
THanks,
Neel Desai
--
You received this message because you are subscribed to the Google
Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/c9f12e36-993a-4fc3-a4d7-63336bc36a72%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/c9f12e36-993a-4fc3-a4d7-63336bc36a72%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
WBD,
Viacheslav Dubrovskyi
--
You received this message because you are subscribed to the Google Groups "Jenkins
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/3ecfced4-2845-91e4-bfbb-5f068e0813d6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.