CloudBees + PlayFramework + Eclipse

I want to develop and manage my workspace DEV @CloudBees and RUN @CloudBees from Eclipse for the PlayFramework project, and I will have to work with it from several different PCs. I use the Cloudbees SVN repository, Jenkins CI solution, database ... that's it.

I installed CloudBees and PlayFramework plugins for Eclipse, created my CloudBees account, SVN repository, project, Jenkins Job and database. I created a Play project, eclipsed it.

I understand, and I tested every component of my target work environment, but I was not able to get them to work seamlessly together.

1- I saw some Play modules for CloudBees, but this is for command line use only. Is there a good plugin for Eclipse for this?

2- I have some problems writing the build.xml file, especially when referencing PlayFramework libraries, because I cannot use the local installation because it will not work on Jenkins.

3- How can I deploy to RUN @CloudBees from Eclipse? If I use the CloudBees plugin, it does not package the PlayFramework libraries.

4 How can I use Play testing features to integrate into Jenkins?

I have a lot of questions, but for now this is enough :) By the way, PlayFramework is awesome, and CloudBees is an economical work environment.

Thank you for your help.

+5
source share
4 answers

Cloudbees.

, mericano1 ( ).

CloudBees Jenkins , Play! !

"!". Play! , . , "clean", "deps -sync" , , "-". war -o toto.war, .

"Play! auto-test reports". "Play! Test Result" , ... (unbelieavable:)).

" CloudBees". , , ! libs . , cloudbees 0.2.2 ! project dependencies.yml, bees: app: deploy .

Eclipse CloudBees , Jenkins. Play! , Run DEV @/CloudBees Local.

+5

, ... !

Jenkins, .

play auto-test

. .failures.

+6

1) cloudbees . Eclipse ( ). , play bees:app:deploy

2)

3) Play Framework J2EE (- play war), Play Cloudbees Eclipse . . 1).

4) , Play. / Cloudbees.

Ok, so I provided some help on questions 2 and 4, and unfortunately the answers may not have been what you hoped for. I suggest switching to the command line when the time comes for deployment.

+2
source

In eclipse, click on the menu of external tools and create a new command, as noted by Ryan in 1). then you can simply click the external tool icon.

+1
source

All Articles