On Tue, Mar 6, 2012 at 11:31 AM, Jatin D Patel <depo.ja...@gmail.com> wrote:
> This is the steps which i have followed. > > > -------------------------------------------------------------------------------------------------------------------- > > step 1: > Build a free-style software project > > step 2: > IN configuration page, I have selected the option > "This build is parametreized" > > Step 3: > Provide String parameter > > Name : VERSION > default value : RELEASE > dESCRIPTION : abcd > > Step 4: > Under the build section > SSH Site : My personal linux server > Command: : echo JAVA_HOME > WORKS FINE > echo $VERSION > echo "$version" > RETURNS Blank line. > > -------------------------------------------------------------------------------------------------------------------- > > > Hope that i was clear ? > Right, but how are you actually triggering the builds? The webpage? The CLI? > Please help. > > On Mon, Mar 5, 2012 at 6:30 PM, Andrew Melo <andrew.m...@gmail.com> wrote: > >> Hi there, >> >> How are you submitting the job? >> >> -andrew >> >> >> On Mon, Mar 5, 2012 at 8:15 PM, Jatin D Patel <depo.ja...@gmail.com>wrote: >> >>> Hi all, >>> >>> I have set up a string value >>> Name : VERSION >>> Default Value : 17 >>> >>> Ref: http://wiki.hudson-ci.org/display/HUDSON/Parameterized+Build >>> >>> When i try to access, the version value, i get a blank response >>> >>> echo $JAVA_HOME >>> returns Java Home location >>> >>> *echo $VERSION* >>> *returns a blank line* >>> * >>> * >>> *echo "$VERSION"* >>> *also returns a blank line* >>> >>> >>> How can i display the value 17 , while *executing shell script on remot >>> ehost using ssh?* >>> * >>> * >>> Please help. >>> >>> -- >>> Thanks, >>> JD Patel >>> You Got To Think HIGH to RISE. >>> >>> >>> >> >> >> -- >> -- >> Andrew Melo >> >> > > > -- > Thanks, > Jatin D N Patel > > You Got To Think HIGH to RISE. > > > -- -- Andrew Melo