Skip to content

Commit

Permalink
Setting the config file when running in jenkins slaves
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocast committed Mar 22, 2018
1 parent d513324 commit 9640606
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion publish.sh
Expand Up @@ -7,4 +7,10 @@ source env/bin/activate

pip install twine

twine upload -r pypi dist/*

if [[ $JENKINS_JNLP_URL ]]
then
twine upload -r pypi dist/* --config-file /home/activeeon/.pypirc
else
twine upload -r pypi dist/*
fi

0 comments on commit 9640606

Please sign in to comment.