Replies: 1 comment
-
Hi @AHuusom! All the env variables are already saved in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As we are trying to create ubuntu build servers as automatically as possible, we ran into a problem. As the Azure Devops agent uses the .env and the .path files for the environment variables. And these two files are created by running a env.sh file in the agent folder. This env.sh has som standard Environment Variable keys defined which it then copies into the .env file and if you want all of the environment variables you need to update this env.sh file with all the EV keys.
My question is then: Is it possible that all the environment variables keys created during the image creation could be saved in a txt file or equivalent in the post-generation folder for example.
Then we can modify the env.sh script to look in this file as we have done today and this works.
But we need to manually update the file in the post-generation folder with new environment variables.
Beta Was this translation helpful? Give feedback.
All reactions