You're on the wrong list. This is not a Jenkins issue.

Use double quotation marks.

On 28.01.2014, at 16:06, Robert Pohl <[email protected]> wrote:

> Hi,
> I'm generating a text file with build info but it doesn't work :/
> 
> Under Build -> Execute Shell, there is a line: 
> echo 'BuildNumber: ${BUILD_NUMBER}, GITRevision: ${GIT_BUILD_NUMBER}' > 
> public/static/buildinfo.txt
> 
> But in that textfile it will show exactly "BuildNumber: ${BUILD_NUMBER}, 
> GITRevision: ${GIT_BUILD_NUMBER}" and not the numbers.
> 
> How do I do this?
> 
> Thanks,
> Rob
> 
> -- 
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to