mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-08 11:21:11 +00:00
16 lines
No EOL
636 B
Bash
Executable file
16 lines
No EOL
636 B
Bash
Executable file
|
|
clear
|
|
|
|
export JF_NAME="psazuse" JFROG_CLI_LOG_LEVEL="DEBUG"
|
|
export JF_RT_URL="https://${JF_NAME}.jfrog.io" RT_REPO_VIRTUAL="springpetclinic-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 ca --format=table --threads=100
|
|
#
|
|
jf mvn clean install -DskipTests=true -Denforcer.skip=true -f pom.xml --build-name ${BUILD_NAME} --build-number ${BUILD_ID}
|
|
|
|
jf mvn test -Denforcer.skip=true
|
|
python3 ./jfrog/convert/convert_surefire_to_json.py ./target/surefire-reports/test-results.json |