Jill448
Jill448

Reputation: 1793

EnvInject Plugin to load environment variables

I am trying to load env variables using EnvInject Plugin and not able to do so

enter image description here

Upvotes: 1

Views: 2102

Answers (2)

Pedro Neves
Pedro Neves

Reputation: 1

The problem is you can't have a dot '.' in the file name. Change "env.properties" to "props" for example.

Upvotes: -1

victormpav
victormpav

Reputation: 76

Your are injecting the variables after execute the script, you should move the "Inject Enviroment Variables" step before the "Execute Shell"

Upvotes: 2

Related Questions