Move war from local to server and tomcat docker
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Move war from local to server and tomcat docker

by
FranG
Created on 2020-02-06 18:12:39 (edited on 2024-09-04 14:23:36) in Hosted Private Cloud

Hi All,
I'm looking for the way to automate the web deployment steps and probably this is a simple thing but I'm stuck and have no way to do it.
Basically I create one war file and one web build output directory.
Using scp command I upload the local sources to my server and then (having my tomcat docker up and running) I deploy them in Tomcat using docker cp.
The point is that I run those steps manually. Yes, they are few steps but always the same steps then my intention is by creating a kind of .bat file where those commands there and then running this .bat file then let all be completed.
Obviously scp ask me for the server user and password so automate that and having the credentials encrypted would be a very very useful plus.
Thanks


Replies are currently disabled for this question.