-
Notifications
You must be signed in to change notification settings - Fork 116
Description
I am new to openshift. I tried jenkins pipeline with the same buildconfig yml file and also the same php application. After starting the pipeline the build is successful but the deployment fails. I am getting the below output in jenkins console.
Pushing image 172.30.198.246:5000/cicd/myphp:latest ...
Pushed 0/7 layers, 1% complete
Pushed 1/7 layers, 16% complete
Pushed 2/7 layers, 33% complete
Pushed 3/7 layers, 49% complete
Pushed 4/7 layers, 62% complete
Pushed 5/7 layers, 92% complete
Pushed 6/7 layers, 97% complete
Pushed 7/7 layers, 100% complete
Push successful
Exiting "Trigger OpenShift Build" successfully; build "myphp-2" has completed with status: [Complete].
[Pipeline] stage (deploy)
Using the ‘stage’ step without a block argument is deprecated
Entering stage deploy
Proceeding
[Pipeline] openshiftDeploy
Starting "Trigger OpenShift Deployment" with deployment config "myphp" from the project "cicd".
Operation will timeout after 600000 milliseconds
Exiting "Trigger OpenShift Deployment" unsuccessfully; gave up on deployment "myphp-1" with status: [Running].
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: "Trigger OpenShift Deployment" failed
Finished: FAILURE
I don't know where I am commiting mistake. Please help me in this