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 or Azure application (client) id
--passwordmandatoryset password or Azure client secret for SPN
--hostoptionalset JFrog host or Azure Blob URLDefault ifsclouddev.jfrog.io
--tenant-idoptionalset Azure AD tenant id (required for Azure Blob)
--federated-tokenoptionalset OIDC token for UMID; if set, password is not used
--repo-nameoptionalpoint to the repository or Azure container when not in host URLDefault 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