Automated deployment process through Jenkins

54 views
Skip to first unread message

veer...@gmail.com

unread,
Aug 26, 2015, 3:46:54 PM8/26/15
to Jenkins Users
I have configured Jenkins on windows 7 based and we are using Subversion on windows based.

I am trying to Automate my build machine.Once it build automatically the war files should copy to shared server location and do the auto deployment.I need assistance to implement this process.


Scott Klein

unread,
Aug 26, 2015, 5:31:09 PM8/26/15
to jenkins...@googlegroups.com

Depending how you “auto-deploy” there might be a plugin for it – search the availalbe plugins for your server (eg Tomcat)

 

Or, for a more manual process:

·         Use the Publish Over SSH plugin to push the files up to your server (you will need to configure your SSH authentication credentials)

·         Use Ant to execute your deploy script on the server

 

Just configure these in your post build actions

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/448ba04f-73e3-496b-8d9c-8643ecd13361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Berghold

unread,
Aug 26, 2015, 6:07:12 PM8/26/15
to jenkins...@googlegroups.com


On Wed, Aug 26, 2015, 15:47  <veer...@gmail.com> wrote:


I am trying to Automate my build machine.Once it build automatically the war files should copy to shared server location and do the auto deployment.I need assistance to implement this proces

s


Not much to go on htere, but my builds I've implemented in Jenkins look a lot like shell scripts using the same techniques I'd use manually.

For instance I'll build a .war file for a web application and then just send it to the appropriate directory on the target server using scp.  Make sure you have SSL certs in place making Jenkins trusted in the landing zone.

veer...@gmail.com

unread,
Sep 3, 2015, 12:58:36 PM9/3/15
to Jenkins Users
Hello,

Thanks for the update.

I am using jenkins plugin and trying to copy the files from build machine to remote machine but it is not working,if any one have sample script please provide me.

Your help is greatly appreciate.
Reply all
Reply to author
Forward
0 new messages