--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cc54491c-6123-4517-a016-615c209e7a1e%40googlegroups.com.
Where are you trying to get it from? Groovy script, plugin extension point, something else?Sent from my iPhone
Hello,--I want to get my current running job name without build number. [Because I do not have build number]How can I do that?Thank you in advance!
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkin...@googlegroups.com.
In what context? Are you building a pipeline plugin? You should have access to just about everything.
On Sat., Aug. 10, 2019, 5:04 a.m. Navnath Kumbhar, <nnkumb...@gmail.com> wrote:
Hello,--I want to get my current running job name without build number. [Because I do not have build number]How can I do that?Thank you in advance!
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkin...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/217e7825-fda6-420b-ba5f-b640ab6cf1a4%40googlegroups.com.
You can call run.getId() will give you the build Idrun.getParent().getId()I'm not sure where you are not having the build number.
On Sat, Aug 10, 2019 at 11:54 PM Navnath Kumbhar <nnkumb...@gmail.com> wrote:
No, it is not a pipeline plugin. It is simple plugin with which adds a custom build step. Link to wiki : https://wiki.jenkins.io/display/JENKINS/Reqtify+Plugin--
On Saturday, 10 August 2019 21:58:35 UTC+5:30, Gavin Mogan wrote:In what context? Are you building a pipeline plugin? You should have access to just about everything.On Sat., Aug. 10, 2019, 5:04 a.m. Navnath Kumbhar, <nnkumb...@gmail.com> wrote:Hello,--I want to get my current running job name without build number. [Because I do not have build number]How can I do that?Thank you in advance!
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cc54491c-6123-4517-a016-615c209e7a1e%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/217e7825-fda6-420b-ba5f-b640ab6cf1a4%40googlegroups.com.
Stapler.getCurrentRequest().findAncestorObject(Job.class)
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1dd02966-7c54-4e56-8fda-c18f8b4b0aaf%40googlegroups.com.