简体   繁体   中英

How to setup phpunit with Jenkins on Openshift?

I have been dealing with this problem for a long time now. I want to setup the framework phpunit with Jenkins on the Openshift cloud service.

I am not sure how to do it. I have been trying to search Google for some tutorials but I really can't find anything. I know this is a kind of broad question but I seriously need to solve it somehow.

You should be able to get this going easily by creating a jenkins application in OpenShift and then creating a php application in on OpenShift.

To create the jenkins app
rhc app create -a jenkins jenkins-1

Then create your php application `rhc app create -a php php-5.4 --enable-jenkins'

Finally cd into your php app directory and configure phpunit.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM