• Post Reply Bookmark Topic Watch Topic
  • New Topic

Automating deployment in Jboss by Jenkins?  RSS feed

 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would be the best way to do a deploy on JBoss EAP via Jenkins?

After completion of the build, if successfully occur, I would like to deploy my application, it would be better via plugin or create some script (Running in the post build Jenkins) ?

Currently I do this manually deploy via Jboss console.
 
Rob Spoor
Sheriff
Posts: 21117
85
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't you just copy the file to the deployments folder?
 
Edson Cezar
Ranch Hand
Posts: 119
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The users are used to do this in the console in Jboss management, not directly in the folder deployment.
 
Marcelo V. C. Pereira
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could install maven wildfly plugin. http://mvnrepository.com/artifact/org.wildfly.plugins/wildfly-maven-plugin
It does a remote deploy with just a configuration in your pom.xml.
You can run the mvn wildfly:deploy in the post build phase.
I currently do this that way.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!