Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Deploying WAR unarchived?
Deploying WAR unarchived? [message #1558054] Sun, 11 January 2015 08:12 Go to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Is there any good way to deploy Maven-generated WAR archive in an unarchived form to another server?

The server I'd like to use can automatically deploy application from a version control system, but I don't think it is a good idea to check in a compressed WAR archive under version control. Is it a good practice to unarchive WAR archive and check in (or commit) the contents by a Hudson job?


Kaz Nishimura
Re: Deploying WAR unarchived? [message #1561385 is a reply to message #1558054] Tue, 13 January 2015 04:25 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Main reason why checking in WAR is not a good idea is, SCM is not good at keeping differential increment of binaries, unlike textual entries like source code. So for every version, WAR is stored in its entirety thus increasing the size of repository. Well, you could commit unarchived WAR, but since war contents are mostly binary entities, it is not much of help either.

- Is deploying directly using deploy plugin not an option?
- If you have issue with remote deployment, you could use FTP or SCP plugin to copy the WAR to the machine where you have the appserver and then use SSH plugin to run proper script to undeploy/deploy the war to the appserver.


Winston Prakash
Eclipse Hudson team
Re: Deploying WAR unarchived? [message #1563605 is a reply to message #1561385] Wed, 14 January 2015 09:43 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
FTP is not secure as passwords are sent in plain. The service does provides only FTP/FTPS, automatic deployment from a version control system, and a proprietary protocol. Does any Hudson plugin support FTPS?

Kaz Nishimura

[Updated on: Wed, 14 January 2015 09:53]

Report message to a moderator

Previous Topic:Dynamically setting job name in ${COPYARTIFACT_BUILD_NUMBER_XXX}
Next Topic:Planned Maintenance on Hudson-ci infrastructure
Goto Forum:
  


Current Time: Wed Oct 09 01:01:58 GMT 2024

Powered by FUDForum. Page generated in 0.25488 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top