You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to pass in something like --environment "qa". Then I need to use this value to determine which variables to pull in from my ./shared-objects/environment.js file. I was hoping I could pull in CLI arguments from within this.BeforeFeatures but I can't. Any ideas? Any help at all would be appreciated.
The text was updated successfully, but these errors were encountered:
I had this same problem and the only thought I had was to update my files directly.
So I created a shared/config.js to provide shared options, in my case just baseUrl.
I'm using Jenkins to run this, so I scripted something to the effect of:
sed -i -r -e "s|(baseUrl: )[^\n]|\1'$URL'|g" shared/config.js
This will update config.js to use the $URL which I generate based on my environment.
I need to pass in something like
--environment "qa"
. Then I need to use this value to determine which variables to pull in from my./shared-objects/environment.js
file. I was hoping I could pull in CLI arguments from withinthis.BeforeFeatures
but I can't. Any ideas? Any help at all would be appreciated.The text was updated successfully, but these errors were encountered: