With the 1.7.1 release Nexus Professional now supports multi-level staging and build promotion. With our existing staging plugin, you can release build artifacts to a temporary staging repository to allow for testing and certification before making a final decision to release artifacts to a hosted repository. With multi-level staging, you can add additional steps to your release process. If you need multiple levels of testing or validation, you can now define both staging profiles and “build promotion” profiles.
When you stage an artifact in Nexus Professional, Nexus creates a temporary staging repository and exposes staged artifacts in a repository group. When you promote a staging repository with a build promotion profile, you can configure Nexus to add promoted artifacts to additional repository groups.
To explore this new feature of Nexus Professional, consider the following workflow illustrated in the previous figure :
- Stage: A developer publishes artifacts to a QA staging profile which exposes the staged artifacts in a QA repository group.
- Promote to Beta: Once the QA team has completed testing, they promote the temporary staging repository to build promotion profile exposing the staged artifacts to a limited set of customers who have agreed to act as a beta testers.
- Release: Once this closed beta testing period is finished, the staged repository is then released. The artifacts it contains are published to a hosted release repository and exposed via the public repository group.