Skip to content

Commit 36c1325

Browse files
committed
Upating build dist repository
1 parent 2d58032 commit 36c1325

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

ci/scripts/build-project.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ set -euo pipefail
44

55
readonly ONLY_SHOW_STANDARD_STREAMS_ON_TEST_FAILURE="${ONLY_SHOW_STANDARD_STREAMS_ON_TEST_FAILURE:-true}"
66
readonly SKIP_TESTS="${SKIP_TESTS:-false}"
7+
readonly DISTRIBUTION_REPOSITORY_OUTPUT="${DISTRIBUTION_REPOSITORY_OUTPUT:?must be set}"
78

8-
# shellcheck source=common.sh
9-
source "$(dirname "$0")/common.sh"
10-
repository=$(pwd)/distribution-repository
119
if [ "$SKIP_TESTS" == "true" ]; then
1210
build_task=assemble
1311
else
@@ -16,4 +14,4 @@ fi
1614

1715
./gradlew --parallel clean "$build_task" publish \
1816
-PonlyShowStandardStreamsOnTestFailure="${ONLY_SHOW_STANDARD_STREAMS_ON_TEST_FAILURE}" \
19-
-PpublicationRepository="${repository}"
17+
-PpublicationRepository="${DISTRIBUTION_REPOSITORY_OUTPUT}"

ci/tasks/build-project.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ run:
1818
path: ci/scripts/build-project.sh
1919
dir: git-repo
2020
params:
21-
ARTIFACTORY_USERNAME: ((artifactory-username))
22-
ARTIFACTORY_PASSWORD: ((artifactory-password))
21+
DISTRIBUTION_REPOSITORY_OUTPUT: ../distribution-repository

0 commit comments

Comments
 (0)