Pipeline with JFrog CLI

This commit is contained in:
Krishna Manchikalapudi 2025-09-26 12:28:53 -07:00
parent 30aab0ae76
commit e2fbe9bef3
6 changed files with 1342 additions and 0 deletions

9
jfcli.sh Executable file
View file

@ -0,0 +1,9 @@
export JF_NAME="psazuse" JFROG_CLI_LOG_LEVEL="DEBUG"
export JF_RT_URL="https://${JF_NAME}.jfrog.io" RT_REPO_VIRTUAL="krishnam-mvn-virtual"
export BUILD_NAME="spring-petclinic" BUILD_ID="cmd.$(date '+%Y-%m-%d-%H-%M')"
jf mvnc --global --repo-resolve-releases ${RT_REPO_VIRTUAL} --repo-resolve-snapshots ${RT_REPO_VIRTUAL}
jf mvn clean install --build-name=${BUILD_NAME} --build-number=${BUILD_ID}