I'm trying to improve the development processes in my area by developing some magical python scripts to take care of build and deployment processes. I'm using Teamcity
and Artifactory
to build and manage artifacts.
One of the step in the process is to get the artifact URL of the latest deployed build artifact from Artifactory. I wanted to create a CLI command that could take some parameters like repository name, name/pattern of artifact etc. and churn out the full path of the artifact.
Wondering if someone has used jfrog CLI before and can help me create such command?
I'm sharing few sample artifacts below for reference:
https://artifactory-1.dts.fm.abcgrp.net/artifactory/fsap-staticfile-libs-releases-local/fsap/aap-aml-ui/2.2.1/aap-aml-ui-2.2.1-dist.zip
https://artifactory-1.dts.fm.abcgrp.net/artifactory/fsap-libs-snapshots-local/com/abc/fsap/aap-aml-msvc/0.0.0-feature-FSAP-9787-SNAPSHOT/aap-aml-msvc-0.0.0-feature-FSAP-9787-20200807.134731-5-dist.jar
https://artifactory-1.dts.fm.abcgrp.net/artifactory/fsap-libs-snapshots-local/com/abc/fsap/aap-lime-msvc/0.0.0-development-SNAPSHOT/aap-lime-msvc-0.0.0-development-20200717.061034-4-dist.jar