I have an upstream job that passes COPY_FROM_BUILD parameter containing the 
number of upstream job build (dummy name, but good enough for developers to 
understand what's happening...)
In downstream job I tried to use

nextBuildNumber($COPY_FROM_BUILD) 

and when creating the job my seed job complains

ERROR: (seed_leia.groovy, line 224) No such property: $COPY_FROM_BUILD for 
class: javaposse.jobdsl.dsl.helpers.properties.PropertiesContext


Either I'm doing something really stupid or nextBuildNumber won't work with 
upstream parameter... any idea anyone?

Build name setter won't be a good enough solution since I'm passing build 
namber, not name, to another tool I can't rally change :/

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/48b5b346-7812-4cc0-8a0a-4a5930c295e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to