From 717f20c6c0d594e792d2fe5c3e008c36c77d9ba0 Mon Sep 17 00:00:00 2001 From: Tim Roes Date: Wed, 8 Feb 2023 17:50:40 +0100 Subject: [PATCH] Create scans of gradle builds --- tools/bin/release_version.sh | 4 ++-- tools/bin/release_version_octavia.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/bin/release_version.sh b/tools/bin/release_version.sh index a9c21bc6110d..ccfa0f7c0e63 100755 --- a/tools/bin/release_version.sh +++ b/tools/bin/release_version.sh @@ -29,8 +29,8 @@ docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}" source ./tools/bin/bump_version.sh echo "Building and publishing PLATFORM version $NEW_VERSION for git revision $GIT_REVISION..." -VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew clean build -VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew publish +VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew clean build --scan +VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew publish --scan # Container should be running before build starts # It generates binaries to build images for different CPU architecture diff --git a/tools/bin/release_version_octavia.sh b/tools/bin/release_version_octavia.sh index 5bfa746294cb..942aa2009736 100755 --- a/tools/bin/release_version_octavia.sh +++ b/tools/bin/release_version_octavia.sh @@ -19,6 +19,6 @@ docker login --username "${DOCKER_HUB_USERNAME}" --password "${DOCKER_HUB_PASSWO source ./tools/bin/bump_version.sh echo "Building and publishing OCTAVIA version ${NEW_VERSION} for git revision ${GIT_REVISION}..." -VERSION=$NEW_VERSION SUB_BUILD=OCTAVIA_CLI ./gradlew clean build +VERSION=$NEW_VERSION SUB_BUILD=OCTAVIA_CLI ./gradlew clean build --scan ./octavia-cli/publish.sh ${NEW_VERSION} ${GIT_REVISION} echo "Completed building and publishing OCTAVIA..."