Avatar of beardog1113
beardog1113
Flag for China asked on

Jenkins auto deploy

Hi all
    i have installed Jenkins on my windows server, the Publish Over SSH Plugin has been installed as well, i use SVN to manage my source code. now i would like to setup auto deploy to build my source code use Jenkins after Compile finished, use Publish Over SSH Plugin to transfer the file to my linux APP server, i use tomcat for app software. how can i do it? any guide for this ?
Version ControlJavaApache Web Server

Avatar of undefined
Last Comment
beardog1113

8/22/2022 - Mon
gheist

Have you checked official documentation?
beardog1113

ASKER
yes, but it is not clear, how about the Deploy Plugin? i just want to deploy WAR or JAR to remote server, is there any example?
gheist

Send files or execute commands over SSH after the build runs
As long as the build was attempted, this will run after the build finishes, and will run whether the build is successful or not
This allows cleanup or shutdown of services started before or during the build
Use the publisher (Send build artifacts over SSH in Post-build Actions) to publish build artifacts from succesful builds
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
beardog1113

ASKER
can you show me how to fill the send build artifacts over SSH ?
gheist

In maven it is just configuring SSH connection
beardog1113

ASKER
let me look at
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
beardog1113

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
beardog1113

ASKER
Deploy to container Plugin is working well