I have a Jenkins work that runs virtualenv with ShiningPanda Virtualen Builder. In this virtualenv, it executes this shell script with the -xe options:
pip install setuptools python setup.py sdist upload -r http://jenkins:${PYSHOP_PASS}@localhost:8000/simple/
This url is intentionally flawed to make sure the build failed when the sdist failed. He must return 1 .
Returns status code 0 . What for? This only happens when using Python 3.4. It works correctly in Python 2.7. It also behaves correctly on my local machine in Python 3.4 and Python 3.5. What gives?
I tried working with sh and bash. I tried several flags. What gives?
source share