Java Magazine, Mar/Apr 2018
ORACLE COM JAVAMAGAZINE MARCH APRIL 2018 36 microservices and containers what is often called continuous integration SonarQube is also triggered by DSL and defining a SonarQube based quality gate is shown in Listing 2 Listing 2 Quality gate as part of the SonarQube processing timeout time 2 unit MINUTES def qg waitForQualityGate if qg status OK error Pipeline aborted qg status My pipeline also contains a test of the Docker image before it is pushed to Artifactory For that the Docker image is run and the resulting Docker container makes available the bundled web application exactly the one I want to promote to production later I can now utilize Selenium to check whether the web application started correctly and has the expected behavior I have posted a visualization of the pipeline run online Now lets move to the next step deriving a release candidate RC for the artifacts that have been created Release Candidate Pipeline The next pipeline is the pipeline to create the release candidate This is the last stage before release so here I am concerned with making sure the binaries are packaged well tested and containerized This is done by cherry picking an existing development version Typically this is the most recent version created in the previous pipeline but often there are reasons to not take that one for instance if a regression was introduced In other words not every single dev version must be promoted to be a release candidate On big or complex projects at this stage you often have multicomponent setups or framework development In this example the RC pipeline promotes the WAR file and the Docker images to dedicated staging repositories in Artifactory Context information is often added to the binaries as part
You must have JavaScript enabled to view digital editions.