Skip to content

Fetch binaries

Script ifs_fetch.cmd/sh

The script ifs_fetch.cmd/sh is located in the build folder.

When creating a build home, the ifs_fetch script should be executed in the build_home after the create_build_home_structure script has been run.

When creating a delivery, the script should be executed from the build home/build folder and the parameter --delivery need to be set, pointing to the delivery. If the ifs_fetch or its sub source code are changed in the delivery source code, the ifs_fetch will be updated, and the script will be automatically start using the new version.

The script accepts three parameters.

ParameterRequiredPurposeExamples/Defaults
--usermandatoryset JFrog user
--passwordmandatoryset password
--hostoptionalset JFrog hostDefault ifsclouddev.jfrog.io
--repo-nameoptionalpoint to the repositoryDefault binaryartifacts
--log-leveloptionalOFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALLDefault is OFF
--force-downloadoptionalthere is a cache in the build_home to avoid unnecessary downloads. This param can skip the use of this cacheDefault false
--build-homeoptionalfolder path to the build home - default is one level up from currentdefault is ..\ or ../ for linux
--deliveryoptionalfolder path to the delivery. ifs_fetch will download the artifact to this delivery folder structure. If --delivery is not given, the fetch will be made to the build_home

More information found when executing:

CMD>ifs_fetch.cmd --user user --password password --host jfrog_host