|
|
@@ -14,8 +14,8 @@ volumes: |
|
|
|
- name: m2 |
|
|
|
host: |
|
|
|
path: /root/.m2 |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- name: maven |
|
|
|
image: maven:3-jdk-10 |
|
|
|
volumes: |
|
|
@@ -23,11 +23,11 @@ steps: |
|
|
|
path: /root/.m2 |
|
|
|
commands: |
|
|
|
- mvn install |
|
|
|
- name: tomcat-deploy |
|
|
|
image: tomcat |
|
|
|
commands: |
|
|
|
- cp target/webssh.war /usr/local/tomcat/webapps |
|
|
|
- bash /usr/local/tomcat/bin/start.sh |
|
|
|
- name: tomcat-deploy |
|
|
|
image: tomcat |
|
|
|
commands: |
|
|
|
- cp target/webssh.war /usr/local/tomcat/webapps |
|
|
|
- bash /usr/local/tomcat/bin/startup.sh |
|
|
|
|
|
|
|
trigger: |
|
|
|
branch: |
|
|
|