Hi,
Are you using a recent version of Jenkins and the parameterized plugin?
I suspect the problem is that you are defining $PREFIX locally on the machine, and then trying to reference it via a Jenkins job configuration. When I’ve encountered that situation I’ve worked around it by writing the value to a .properties file and then passing that file to the downstream job (using the ‘Parameters from a properties file’) option.
As for the other environment variables, passing $JOB_NAME and $BUILD_NUMBER work just fine for me.
Upstream job (entitled “zTest Parameters”) configuration:
Downstream job’s /parameters page:
Terry
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.