Hi All

We have job A to kick off Job B
Job A uses in build section execute shell to get a svn revision number and 
sets SVN_REVISION. 
(We understand that there's the option to use "This build is parameterized" 
String Parameter and set SVN_REVISION value as HEAD, but we have our 
reasons to not use that)
echo ${SVN_REVISION_NUM}
export SVN_REVISION=${SVN_REVISION_NUM}
echo ${SVN_REVISION}

output

+ SVN_REVISION_NUM=47337
:

+ echo 47337
47337
+ export SVN_REVISION=47337
+ SVN_REVISION=47337


In Post-build Actions section

we have Trigger parameterized build on other projects, and predefined parameter 
set to SVN_REVISION=${SVN_REVISION_NUM}


But in Job B console, it dosent see the revision number and Job B's SCM could 
retrieve the revision number

Location 'https://jobBhost.com/svn/src@${SVN_REVISION_NUM}' does not exist


What did we do wrong ?


Thanks


Reply via email to