mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 01:15:50 +00:00
added changes
This commit is contained in:
parent
7fe93b4534
commit
4dbc169955
2 changed files with 3 additions and 3 deletions
|
@ -3,8 +3,8 @@ Description=my springpetclinic application
|
|||
|
||||
[Service]
|
||||
User=ubuntu
|
||||
WorkingDirectory=/home/jenkins
|
||||
ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /home/jenkins/tmp/spring-petclinic-3.0.0-20230314.161709-3.jar
|
||||
WorkingDirectory=/home/ubuntu
|
||||
ExecStart=/usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar /home/ubuntu/tmp/spring-petclinic-3.0.0-20230314.161709-3.jar
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
- name: get url from s3 bucket
|
||||
ansible.builtin.get_url:
|
||||
url: https://akshara1413.s3.ap-south-1.amazonaws.com/spring-petclinic-3.0.0-20230314.161709-3.jar
|
||||
dest: /home/jenkins/tmp
|
||||
dest: /home/ubuntu/tmp
|
||||
- name: copy service file
|
||||
ansible.builtin.copy:
|
||||
src: ./madhuri.service
|
||||
|
|
Loading…
Reference in a new issue