File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ set -euo pipefail
44
55readonly ONLY_SHOW_STANDARD_STREAMS_ON_TEST_FAILURE=" ${ONLY_SHOW_STANDARD_STREAMS_ON_TEST_FAILURE:- true} "
66readonly 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
119if [ " $SKIP_TESTS " == " true" ]; then
1210 build_task=assemble
1311else
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 } "
Original file line number Diff line number Diff line change 1818 path : ci/scripts/build-project.sh
1919 dir : git-repo
2020params :
21- ARTIFACTORY_USERNAME : ((artifactory-username))
22- ARTIFACTORY_PASSWORD : ((artifactory-password))
21+ DISTRIBUTION_REPOSITORY_OUTPUT : ../distribution-repository
You can’t perform that action at this time.
0 commit comments