Skip to content

Commit

Permalink
Fix windows gradle command with Vault to use correct cred variables. (#…
Browse files Browse the repository at this point in the history
…36)

* Fix windows gradle command with Vault to use correct cred variables.

* Revert version.txt
  • Loading branch information
erasmussen39 authored Nov 29, 2022
1 parent 10feb95 commit acfc536
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ data class VaultGradleBuildDsl(
withVault(secrets = serviceAccountSecrets) {
bat(
("gradlew.bat --stacktrace --build-cache " +
"-D$gradleUserProperty=\\\"%\\\${ARTIFACTORY_USERNAME}%\\\" " +
"-D$gradlePasswordProperty=\\\"%\\\${ARTIFACTORY_PASSWORD}%\\\" " +
"-D$gradleUserProperty=\\\"%ARTIFACTORY_USERNAME%\\\" " +
"-D$gradlePasswordProperty=\\\"%ARTIFACTORY_PASSWORD%\\\" " +
"$additionalBuildArgs $command").strDouble()
)
}
Expand Down

0 comments on commit acfc536

Please sign in to comment.