New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Envs do not works #928
Comments
Someone correct me if I'm wrong, but you are starting Twine in a child process, so any variables created by writing, for example, You need to either string together the creation of all of the required variables, as such: TWINE_USERNAME="__token__" \
TWINE_PASSWORD="...." \
TWINE_NON_INTERACTIVE="true" \
twine upload dist/* Notice the separating backwards slashes. Another option is to explicitly
If you opt for Yet another option is to use a |
Thanks @usrme. Sorry for the lack of context, I've listed of variable I have set, not how I've set them. Setting the variables both inside an |
Just a few questions:
|
yes
It doesn't work
|
Forcing the user and ps with variables, works
|
I'm experiencing the same issues as @FrancescoSaverioZuppichini, for my issue I have the following Jenkinsfile:
This results in If I modify the |
Sorry I just realized where my issue was, I was using the wrong ENV Variable name, For what its worth, correcting the env variable name worked without issue. |
I suspect that @usrme actually likely diagnosed the original issue correctly. Unless the variables are exported properly, trying may not actually see them in the environment described in the original issue description. As such, I'm making this as completed |
Hi guys,
Setting the following env variables
and then call
results in
twine
asking me for credentialsThanks
The text was updated successfully, but these errors were encountered: