PyPi configuration in Nexus3
There are 5 PyPi repositories present in Nexus3:
Pypi (proxy) - This repository is used to proxy https://pypi.python.org/
https://nexus3.onap.org/repository/PyPi/
Pypi.public (group) - This group consolidates PyPi.release and PyPi. This group should be accessed for reading/pulling purposes.
https://nexus3.onap.org/repository/PyPi.public/
Pypi.release (hosted) - This repository hosts our official releases. This repo does not allow re-deployment
https://nexus3.onap.org/repository/PyPi.release/
Pypi.snapshot (hosted) - Used to host our snapshots meanwhile the release candidate is being worked on. This repo allows re-deployment.
https://nexus3.onap.org/repository/PyPi.snapshot/
Pypi.staging (hosted) - Used for our daily/staging non official publications. This repo allows re-deployment.
https://nexus3.onap.org/repository/PyPi.staging/
PyPi configuration in Jenkins and JJB
Projects can leverage this set of templates when they are a python project that needs to upload python packages to a PyPi repository.
...
- {project-name}-python-staging-{stream}
- {project-name}-python-release-{stream}
- {project-name}-{subproject}-python-staging-{stream}
- {project-name}-{subproject}-python-release-{stream}
General Job Information
The "staging" jobs will trigger a Jenkins job that builds the python package and pushes the package to a staging repo located here https://nexus3.onap.org/repository/PyPi.staging/.
...