This is an automated email from the ASF dual-hosted git repository. bbejeck pushed a commit to branch Merge_AK_to_CCS_10_08_2020 in repository https://gitbox.apache.org/repos/asf/kafka.git
commit 0cc0279d902341378b6e3ed18ffcd5dcb5c4f901 Author: elismaga <e...@confluent.io> AuthorDate: Tue Jul 14 18:56:00 2020 -0700 ST-3402: Refactored Jenkinsfile to get secrets from Vault instead of Jenkins credential store (#361) --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 057a863..80a546b 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,9 +34,9 @@ def retryFlagsString(jobConfig) { def downstreamBuildFailureOutput = "" def publishStep(String configSettings) { - configFileProvider([configFile(fileId: configSettings, variable: 'GRADLE_NEXUS_SETTINGS')]) { - sh "./gradlewAll --init-script ${GRADLE_NEXUS_SETTINGS} --no-daemon uploadArchives" - } + withVaultFile([["gradle/artifactory_snapshots_settings", "settings_file", "${env.WORKSPACE}/init.gradle", "GRADLE_NEXUS_SETTINGS"]]) { + sh "./gradlewAll --init-script ${GRADLE_NEXUS_SETTINGS} --no-daemon uploadArchives" + } } def job = { // https://github.com/confluentinc/common-tools/blob/master/confluent/config/dev/versions.json