瀏覽代碼

Enforce pip3 and python3 on Release Jenkins

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 5 年之前
父節點
當前提交
a383cae615
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Release.Jenkinsfile

+ 3 - 3
Release.Jenkinsfile

@@ -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
                         """
                     }