Add environment variable in Hudson

I’m learning how to define an environment variable for Hudson (NCover path on the build server), so build scripts can use it, but you don’t need to redefine it in Hudson jobs (similar to %SVN_REVISION%or %BUILD_NUMBER%). How would this be done? Thanks.

+5
source share
2 answers

You can set the node variables that will be available for each job that runs on that node. Go to the node configuration page and you will see it. For the node wizard, environment variables are configured on the Hudson configuration main screen.

+9
source

( node), Manage Hudson → Configure System, Global Properties → Environment Variables

: , , @Michael Donohue .

+2

All Articles