: jenkinsci-users@googlegroups.com
Cc: rmandevi...@litle.com
Subject: Re: Variable from shell script to Jenkins job
Hello Rob,
I have a couple of questions:
1. The line "echo “varID = $varID” > export_props.properties" is run on the
jenkins server or on the remote ?
2. If I need s
nts of export_props.properties is injected into the job
> itself, and will be injected into shell steps as environment variables.
>
>
>
> --Rob
>
>
>
> *From:* jenkins...@googlegroups.com [mailto:
> jenkins...@googlegroups.com ] *On Behalf Of *Naumenko, Roman
> *S
014 10:50 AM
To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>
Subject: Variable from shell script to Jenkins job
Jenkins experts,
Does anybody remember how to pass variable from shell execution inside the
job to Jenkins itself?
Say there is pre-step:
varID=(grep
ironment variables.
>
>
>
> --Rob
>
>
>
> From: jenkinsci-users@googlegroups.com
> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Naumenko, Roman
> Sent: Thursday, January 23, 2014 10:50 AM
> To: jenkinsci-users@googlegroups.com
> Subject: Variable from shell script to
2014 10:50 AM
To: jenkinsci-users@googlegroups.com
Subject: Variable from shell script to Jenkins job
Jenkins experts,
Does anybody remember how to pass variable from shell execution inside the job
to Jenkins itself?
Say there is pre-step:
varID=(grep something ${WORKSPACE}/pom.xml | cut someth
Naumenko, Roman
Sent: Thursday, January 23, 2014 10:50 AM
To: jenkinsci-users@googlegroups.com
Subject: Variable from shell script to Jenkins job
Jenkins experts,
Does anybody remember how to pass variable from shell execution inside the job
to Jenkins itself?
Say there is pre-step:
varID=(grep
Jenkins experts,
Does anybody remember how to pass variable from shell execution inside the job
to Jenkins itself?
Say there is pre-step:
varID=(grep something ${WORKSPACE}/pom.xml | cut something else)
Is it possible to use $varID in further non-shell steps in the job?
--Roman
___