script war

This commit is contained in:
uap31-r 2021-10-21 15:28:18 +02:00
parent 1545b932b2
commit 8857888f70

7
prod/script Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
DAT=$(date "+%X")
fich="AP31-Projet1.war"
chem="/home/thomas.millot/NetBeansProjects/AP31-Pojet1/dist/""${fich}"
scp "${chem}" root@10.121.38.66:/usr/libexec/tomcat10/webapps
scp "${chem}" root@10.121.38.66:/root/tomcat/"${fich}"-"${DAT}"