From ebffe7403c992986fb95ab0d4e4a217a8ea506d2 Mon Sep 17 00:00:00 2001 From: gesparza3 Date: Thu, 9 May 2019 22:06:41 -0700 Subject: [PATCH] Updated script port --- script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.sh b/script.sh index 9833c9285..0e6b3a63e 100644 --- a/script.sh +++ b/script.sh @@ -1,9 +1,9 @@ #!/bin/bash -wget http://192.168.0.18:8081/artifactory/libs-snapshot-local/org/springframework/samples/spring-petclinic/maven-metadata.xml +wget http://192.168.1.19:8081/artifactory/libs-snapshot-local/org/springframework/samples/spring-petclinic/maven-metadata.xml VERSION=$(cat maven-metadata.xml | grep -m 1 -oP '(?<=).*(?=)') rm -f maven-metadata.xml -wget http://192.168.0.18:8081/artifactory/libs-snapshot-local/org/springframework/samples/spring-petclinic/$VERSION/maven-metadata.xml +wget http://192.168.1.19:8081/artifactory/libs-snapshot-local/org/springframework/samples/spring-petclinic/$VERSION/maven-metadata.xml AID=$(cat maven-metadata.xml | grep -m 1 -oP '(?<=).*(?=)') VALUE=$(cat maven-metadata.xml | grep -m 1 -oP '(?<=).*(?=)')