Skip to content

Commit

Permalink
pass on SonaType username and password when testing examples
Browse files Browse the repository at this point in the history
... since we don't have these properties within a gradle properties file during release build on CI.

Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
  • Loading branch information
codecholeric committed Oct 29, 2021
1 parent 2d27524 commit 543241b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-steps/release/check-uploaded-artifacts.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ task testRelease() {
def outputStream = new ByteArrayOutputStream()
exec {
workingDir testReleaseDir
commandLine './gradlew', ":${exampleProjectName}:build"
commandLine './gradlew', ":${exampleProjectName}:build", '-P', "sonatypeUsername=${project.getProperty('sonatypeUsername')}", '-P', "sonatypePassword=${project.getProperty('sonatypePassword')}"
ignoreExitValue true
standardOutput = outputStream
}
Expand Down

0 comments on commit 543241b

Please sign in to comment.