6. Add project in Openshift

6.7. Build and deploy your application

1) Build in jenkins the task "BuildDockerSnapshot "

Build docker


2) The BuildDockerSnapshot should be ok 

deploy image

This task build the image and copy the result in Artifactory. the image should be available in Artifactory in the repository docker.local.snapshot.


3) The BuildDockerSnapshot call after DeployOC

deploy image

4) Verify the log after the build

 In the Openshift console, you should see your component.

Deploy jenkins

5) Check is your application is deployed.

Result

6) Click on the title (trainings-hellostco.test.paas.smals.be/trainings-hellostco-web), it will open a new tab with the application.