Change-Id: I38df7039b0c30b7b3ddd73e9d8e8645b2c834808
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
[ -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)\""