bookmark

How to set environment variables in Jenkins? - Stack Overflow


Description

This can be done via EnvInject plugin in the following way:

Create an "Execute shell" build step that runs:

echo AOEU=$(echo aoeu) > propsfile

Create an Inject environment variables build step and set "Properties File Path" to 'propsfile'.

Preview

Tags

Users

  • @jil

Comments and Reviews