Hello,
I want to use the parameters I have passed at the beginning of the build on 
the combined filter. My parameter is a simple choice like:
projectname
- project1
- project2
- project3

I try use this in combination filter like
label==$projectname
label=="$projectname"
label==${projectname}
label=="${projectname}"

but nothing works, i get only a failure if i try to save the config... -.-

Exception: groovy.lang.MissingPropertyException: No such property: 
$projectname for class: Script1
Stacktrace: 

javax.servlet.ServletException: groovy.lang.MissingPropertyException: No such 
property: $projectname for class: Script1
        at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
        at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
        at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
        at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:214)

...


any ideas?

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to