Enforce pip3 and python3 on Release Jenkins

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-07-02 18:04:28 +02:00 committed by Ulysses Souza
parent 6824abf2df
commit a383cae615
1 changed files with 3 additions and 3 deletions

View File

@ -201,9 +201,9 @@ pipeline {
checkout scm
sh """
rm -rf build/ dist/
pip install wheel
python setup.py sdist bdist_wheel
pip install twine
pip3 install wheel
python3 setup.py sdist bdist_wheel
pip3 install twine
~/.local/bin/twine upload --config-file ${PYPIRC} ./dist/docker-compose-*.tar.gz ./dist/docker_compose-*-py2.py3-none-any.whl
"""
}