Closed NandishAndDev closed 11 years ago
You'll need to enable user-env-compile
to have your app's config vars available at buildtime:
https://devcenter.heroku.com/articles/labs-user-env-compile
Can you please let us know what is the road map for the following lab feature. What in case if its removed
Labs features are experimental and may change or be removed without notice; however, I don't really see this going away unless an alternative solution was put in place and current users were alerted how to upgrade. I would also recommend following the Heroku Changelog to keep up to date on any upcoming changes.
Hi,
I have changed build pack to read settings.xml from another location. The file has reference to environment variables. I used heroku config:add to set username and password of maven repo. However when it starts to run, I see the script compile is not able to read these env variables.
This is how my settings.xml look `
`
My compile script is changed to use this file hosted and print the credentials.
MAVEN_SETTINGS_URL="http://192.81.131.224/settings.xml" echo -n "-----> Installing settings.xml..." echo $MI_REPO_USER echo $MI_REPO_PASSWORD
When I do push on heroku I get empty values for MI_REPO_USER and MI_REPO_PASSWORD
Any help much appreciated
Nandish