All,

I am using PTC Integrity as my SCM tool and I'm on Jenkins 1.625.2 on 
Windows.  I'm trying to pass a parameter to the field for 'Integrity 
Project' and I can't seem to make it work.  Is there a way to pass a 
parameter to the Integrity Project field to be able to pick the correct 
development path at build time ? Any suggestions would be appreciated.

I created a parameter and called it 'MasterRelease' and I have a default 
value to it.

I am trying to refer to it in the Integrity Project field in this construct 
-> #/Foundation#d=Foundation-$ENV:MasterRelease

and it gives me this error:
[WS-CLEANUP] Done
10:14:59 Change Log: 
http://chi-qa-scm-04:8080/job/Informal-Build-Foundation/4/changes
10:14:59 Build Log: 
http://chi-qa-scm-04:8080/job/Informal-Build-Foundation/4/console
10:14:59 Preparing to execute si projectinfo for 
#/Foundation#d=Foundation-$ENV:MasterRelease
10:14:59 FATAL: No such property: ENV for class: Script1
10:14:59 groovy.lang.MissingPropertyException: No such property: ENV for 
class: Script1
10:14:59  at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
10:14:59  at 
org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
10:14:59  at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
10:14:59  at Script1.run(Script1.groovy:1)
10:14:59  at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)
10:14:59  at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)
10:14:59  at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
10:14:59  at 
hudson.scm.IntegrityCheckpointAction.evalGroovyExpression(IntegrityCheckpointAction.java:87)
10:14:59  at 
hudson.scm.IntegritySCM.initializeCMProject(IntegritySCM.java:267)
10:14:59  at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:422)
10:14:59  at hudson.scm.SCM.checkout(SCM.java:485)
10:14:59  at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1275)
10:14:59  at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
10:14:59  at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
10:14:59  at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
10:14:59  at hudson.model.Run.execute(Run.java:1741)
10:14:59  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
10:14:59  at 
hudson.model.ResourceController.execute(ResourceController.java:98)
10:14:59  at hudson.model.Executor.run(Executor.java:408)

-- 
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/28988bee-62a4-47be-84a5-90f7f8ef1c07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to