Hello Olivier. I am trying to make the Deploy work on my environment, but I get the Cargo errror... The deploy is remote ....
*"Caused by: org.codehaus.cargo.util.CargoException: Cannot locate the JBoss deployer class! Make sure the jboss-deployer for your JBoss version as well as all required JBoss JARs are in CARGO's classpath. More information on: http://cargo.codehaus.org/JBoss+Remote+Deployer at org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.<init>(JBoss5xRemoteDeployer.java:91) ... 25 more Caused by: java.lang.ClassNotFoundException: org.codehaus.cargo.tools.jboss.JBossDeployer at java.net.URLClassLoader$1.run(URLClassLoader.java:217)" * I am trying to fix this but with no success... I did what they told in (*http://cargo.codehaus.org/JBoss+Remote+Deployer)*. I tried creating a lib dir in jenkins server, putting 3 jars inside ( jboss-client, jboss-integration, jboss-profileservice-client) . Then I passed the -cp arg ponting to this lib dir with the jenkins.war execution ... ( java jenkins.war -jar -cp /jenkins/lib/ ) but I still get the problem... My Jboss version is 5.1 Jenkins 1.48 ... If you can help me finding the problem I appreciate! Regards Cesar On Saturday, April 28, 2012 2:12:16 PM UTC-3, ol...@apache.org wrote: > > Have a look at the following plugin: > https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin > > HTH, > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > 2012/4/28 Rajwinder Makkar <rmakka...@gmail.com <javascript:>>: > > I have this in my env : > > > > Jboss > > jenkins > > maven > > > > I am able to build a maven project using jenkins , > > I know how to deploy to jboss using jenkins > > > > But how to tell jenkins what artifacts need to be deployed out of all > the > > artifacts produced by maven .. as my one maven project produces multiple > > jar's and ear and i need to deploy only EAR to jboss. > > > > Any suggestions ? > > > > -Raj >