On Thu, May 21, 2015 at 11:34 AM, Sven Erik Knop <[email protected]> wrote:
> The "run" object that gets invoked has a getResult() value of null

Sure, because the flow is still running. It will eventually become
SUCCESS if nothing goes wrong later.

> (preventing me from labelling only for successful builds)

If the build failed with an exception, the rest of the flow should not
run, unless you are using a try-block.

See also the catchError step, which is a way to run a publisher even
if the build is _not_ successful.

> Usually the URL looks like this:
>
> http://localhost:8080/jenkins/job/<build-name>/<job-number>/tagBuild/
> for example:
> http://localhost:8080/jenkins/job/p4-direct/2/tagBuild/
>
> in my DSL case it is
> http://localhost:8080/jenkins/tagBuild/
>
> and the link points into nowhere.

Well debug whatever code constructs that URL and see why it is
omitting part of it. I have no idea offhand.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr18%2B8u8gWFj8N3v_Fgp8K6GXRek%2B5a-bPowTbmWbkg_Pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to