Update gen-repo.sh to fix download from artifactory 52/14152/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 16 Jan 2024 14:18:07 +0000 (15:18 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 16 Jan 2024 14:18:36 +0000 (15:18 +0100)
Change-Id: I38df7039b0c30b7b3ddd73e9d8e8645b2c834808
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tools/gen-repo.sh

index b5dec97..5c260e0 100755 (executable)
@@ -122,7 +122,7 @@ dump_vars
 
 [ -x $JFROG_CLI ] || FATAL "jfrog cli not found. Please install https://www.jfrog.com/getcli/ and use option '-j <jfrog cli location>'"
 
-$JFROG_CLI rt download --build "$BUILD" osm-release || FATAL "Failed to download"
+$JFROG_CLI rt download "osm-release/$BUILD_NUMBER/*" || FATAL "Failed to download"
 
 
 [ $PASSPHRASE_FILE ] && GPG_PASSPHRASE="--pinentry-mode=loopback --passphrase \"$(cat $PASSPHRASE_FILE)\""