From: Kevin Sandi Date: Wed, 29 Sep 2021 20:55:35 +0000 (-0600) Subject: Fix: conditionally set the python packaging repository X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=cbcc490f8c7e32769f251570aaf69f73f57a231b;p=ci-management.git Fix: conditionally set the python packaging repository For production Jenkins we will use https://upload.pypi.org/legacy/ and for sandbox we will use https://test.pypi.org/legacy/ Issue-ID: https://jira.linuxfoundation.org/browse/RELENG-3969 Signed-off-by: Kevin Sandi Change-Id: Ia9be3d4fa6ff39a25aed93423314f096d43d0290 --- diff --git a/jenkins-config/managed-config-files/custom/pypirc/content b/jenkins-config/managed-config-files/custom/pypirc/content index 72dac939..6ddb0d00 100644 --- a/jenkins-config/managed-config-files/custom/pypirc/content +++ b/jenkins-config/managed-config-files/custom/pypirc/content @@ -3,9 +3,7 @@ [distutils] # this tells distutils what package indexes you can push to index-servers = - pypi-test pypi - pypi-test - pypi + $PYPIRC_URL_USR [$PYPIRC_URL_USR] repository: $PYPIRC_URL_PSW