On Mon, Mar 19, 2018 at 5:52 PM, Ullrich Hafner
<[email protected]> wrote:
> I would like to keep a reference to a Run of another Job in one of my actions.

Normally `Run.toExternalizableId` is used for this purpose.

> if someone renames the job, then my references will break. Is there an ID I 
> can use to identify a job?

There is a `unique-id` plugin, though I am not much of a fan. You can
simply implement `ItemListener.onLocationChanged` and update
references. Or just reconsider whether you really want to do this.

-- 
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/CANfRfr04Lvx8NpvkrrXGicz99uiVoJxgjtiTPkDSzdP7%2BBKUew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to