Skip to content

Commit e02bf63

Browse files
committed
Jenkinsfile: bintray upload may also use internal repo for dependencies
1 parent a5076b2 commit e02bf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pipeline {
7777

7878
// Not supplying internal Maven repo info to ensure dependencies are fetched from public repo.
7979
// Note: add quotes around URL parameter to avoid line breaks due to semicolon in URL.
80-
sh "./gradlew $gradleArgs " +
80+
sh "./gradlew $gradleArgs $MVN_REPO_ARGS " +
8181
"\"-PpreferredRepo=${BINTRAY_URL}\" -PpreferredUsername=${BINTRAY_LOGIN_USR} -PpreferredPassword=${BINTRAY_LOGIN_PSW} " +
8282
"uploadArchives"
8383

0 commit comments

Comments
 (0)