Hi,
You say you know how to do this in a Windows batch file. Are you in an
"execute shell" build step? If so this is just a shell question. Where
do you need to use these new variables you define? If you need to
reference them in a later build step, the Envinject plugin
<https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin> may be
helpful.
Eric
On 3/23/2016 9:30 AM, Aki K wrote:
Hello
I want to make variables from a variable that is in format of
"projectname/projectfolder"
$PROJECT=projectname/projectfolder
is gotten as a environment variable from the trigger
I want to declare two other variables from this in this format:
$PROJECT_BS=projectname\projectfolder
$PROJECT_ID=projectname_projectfolder
How to do this? I've been googling for 2-3 hours now and cannot find
answer for this.
I'm not a programmer but I do know how to do this in Windows batch file.
Jenkins is very nice but the documentation is A BIT lacking.
--
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>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/94ec5fba-996f-4e5a-880b-62c1f4e7d50a%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/94ec5fba-996f-4e5a-880b-62c1f4e7d50a%40googlegroups.com?utm_medium=email&utm_source=footer>.
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/56F2BB44.4050907%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.