How to use Jenkins to deliver environment variables?

0 like 0 dislike
6 views
Study jenkins. In the project there .env file which contains all the environment variables with the env modules to boot. Because the file in git is not committse can not understand how this file to deliver to the productions server using jenkins.
by | 6 views

1 Answer

0 like 0 dislike
Probably need to git add.
Either in production already have their own env file with settings unique to the PROD - then you can add to git both versions, and deploy to test what deplot.

There is also the possibility that this file may be sensitive data in the clear, then it is in git cannot be added.

Task for yourself in detail and make from it and proceed.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,687 users