Updated script port

This commit is contained in:
gesparza3 2019-05-09 22:10:33 -07:00
parent ebffe7403c
commit 1a52718b0c

View file

@ -10,7 +10,7 @@ VALUE=$(cat maven-metadata.xml | grep -m 1 -oP '(?<=<value>).*(?=</value>)')
echo $AID-$VALUE.war > version echo $AID-$VALUE.war > version
#echo "curl \"http://192.168.0.56:8081/repository/maven-snapshots/org/springframework/samples/spring-petclinic/$VERSION/" > command #echo "curl \"http://192.168.0.56:8081/repository/maven-snapshots/org/springframework/samples/spring-petclinic/$VERSION/" > command
echo "curl \"http://192.168.0.18:8081/artifactory/libs-snapshot-local/org/springframework/samples/spring-petclinic/$VERSION/" > command echo "curl \"http://192.168.0.19:8081/artifactory/libs-snapshot-local/org/springframework/samples/spring-petclinic/$VERSION/" > command
paste -d '' command version > firsthalf paste -d '' command version > firsthalf
echo "\" -o /usr/share/tomcat/webapps/petclinic.war" > secondhalf echo "\" -o /usr/share/tomcat/webapps/petclinic.war" > secondhalf