RE: Perforce-Plugin: How to use variables in the client/view spec?

2014-04-10 Thread Ginga, Dick
I do not think this is possible. I have tried it. You can use a parameter as a 
workspace name but not in the view field.


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mike Craig
Sent: Thursday, April 10, 2014 4:18 PM
To: jenkinsci-users@googlegroups.com
Subject: Perforce-Plugin: How to use variables in the client/view spec?

Hello,

I'm trying to make the Perforce Plugin's view spec more dynamic by including an 
Environment variable in the spec, but it doesn't' seem to work the way I would 
expect.

Our specs usually include the Release name:

//base/products/branch/v1.Main/... //VMWIN2K801/products/branch/v1.Main/...

What I would like to do is use the Jenkins job name, or other variable, as such:

//sait/VCI/products/branch/%JOB_NAME%/... 
//VMWIN2K801/VCI/products/branch/%JOB_NAME%/...

Is this supported? Or am I doing it wrong?

Thanks,

Mike

--
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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
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/d/optout.


Perforce-Plugin: How to use variables in the client/view spec?

2014-04-10 Thread Mike Craig
Hello,

I'm trying to make the Perforce Plugin's view spec more dynamic by 
including an Environment variable in the spec, but it doesn't' seem to work 
the way I would expect.

Our specs usually include the Release name:

//base/products/branch/v1.Main/... //VMWIN2K801/products/branch/v1.Main/...

What I would like to do is use the Jenkins job name, or other variable, as 
such:

//sait/VCI/products/branch/%JOB_NAME%/... 
//VMWIN2K801/VCI/products/branch/%JOB_NAME%/...

Is this supported? Or am I doing it wrong?

Thanks,

Mike

-- 
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/d/optout.