Add the version after the app name (Deploy to Container Plugin)

16 views
Skip to first unread message

Elcio Junior

unread,
Apr 6, 2017, 10:00:11 AM4/6/17
to Jenkins Users
Hi,
I use Jenkins with the Deploy to Container Plugin and I can deploy to my server (glassfish). 
The app looks like this:
 
Test.war
But I want to add the version after the app name. Example:
 
Test-1.0.war
Could someone tell me what configuration is needed so that when accessing the glassfish control panel (4848) the app name is with the version?

Maciej Jaros

unread,
Apr 7, 2017, 1:04:01 PM4/7/17
to jenkins...@googlegroups.com
Elcio Junior (2017-04-06 16:00):
Not sure about Glasfish, but Tomcat supports war versions with `##`.

E.g. revision 1 app would be:
ROOT##1.war

E.g. revision 123 app would be:
ROOT##123.war

Not sure what if you can only use numbers after `##` or any alpha-numerics.

Regards,
Nux.
Reply all
Reply to author
Forward
0 new messages