script deploiement

This commit is contained in:
uap31-r 2021-10-20 09:31:14 +02:00
parent 4755be363c
commit c92a0eb95a

7
prod/script Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -o nounset
DATH=$(date "+%X")
DATJ=$(date "+%u")
scp /home/thomas.millot/NetBeansProjects/AP31-Pojet1/proj/AP31-Projet1.war root@10.121.38.97:/usr/libexec/tomcat10/webapps
scp /home/thomas.millot/NetBeansProjects/AP31-Pojet1/proj/AP31-Projet1.war root@10.121.38.97:/root/svwar/"${DATH}"