Export the build name and build nuber

This commit is contained in:
Dan Alima 2023-12-31 14:22:27 +02:00
parent 4ead845cc2
commit 01c9979df6

View file

@ -56,6 +56,14 @@ jobs:
# JFrog organization secret # JFrog organization secret
JFROG_CLI_BUILD_NUMBER : ${{ github.run_number }} JFROG_CLI_BUILD_NUMBER : ${{ github.run_number }}
run: | run: |
# Push Docker Image to Artifactory
jf docker push ${{ env.IMAGE_NAME }} jf docker push ${{ env.IMAGE_NAME }}
# Export the build name and build nuber
# Collect environment variables for the build
jf rt build-collect-env
# Collect VCS details from git and add them to the build
jf rt build-add-git
# Publish build info
jf rt build-publish