From abb93e35cdb57c37b4bea37ee796c246e4d0db18 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Mon, 6 Feb 2023 11:13:00 -0800 Subject: [PATCH] Fix param name Signed-off-by: Sayali Gaikawad --- tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile | 2 +- tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt | 2 +- vars/publishToArtifactsProdBucket.groovy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile b/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile index 2c55a2f26..d3af059e3 100644 --- a/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile +++ b/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile @@ -18,7 +18,7 @@ pipeline { source: 'the-windows-msi.msi', destination: 'msi/', signingPlatform: 'windows', - sigType: 'null', + sigtype: 'null', overwrite: true ) diff --git a/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt b/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt index f8864df62..7a86651d8 100644 --- a/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt +++ b/tests/jenkins/jobs/PublishToArtifactsProdBucket_Jenkinsfile.txt @@ -3,7 +3,7 @@ PublishToArtifactsProdBucket_Jenkinsfile.echo(Executing on agent [label:none]) PublishToArtifactsProdBucket_Jenkinsfile.stage(publishToartifactsDotOrg, groovy.lang.Closure) PublishToArtifactsProdBucket_Jenkinsfile.script(groovy.lang.Closure) - PublishToArtifactsProdBucket_Jenkinsfile.publishToArtifactsProdBucket({assumedRoleName=test-role, source=the-windows-msi.msi, destination=msi/, signingPlatform=windows, sigType=null, overwrite=true}) + PublishToArtifactsProdBucket_Jenkinsfile.publishToArtifactsProdBucket({assumedRoleName=test-role, source=the-windows-msi.msi, destination=msi/, signingPlatform=windows, sigtype=null, overwrite=true}) publishToArtifactsProdBucket.legacySCM(groovy.lang.Closure) publishToArtifactsProdBucket.library({identifier=jenkins@main, retriever=null}) publishToArtifactsProdBucket.signArtifacts({artifactPath=the-windows-msi.msi, platform=windows, sigtype=null, overwrite=true}) diff --git a/vars/publishToArtifactsProdBucket.groovy b/vars/publishToArtifactsProdBucket.groovy index b64893fe1..ccff29dc1 100644 --- a/vars/publishToArtifactsProdBucket.groovy +++ b/vars/publishToArtifactsProdBucket.groovy @@ -22,7 +22,7 @@ void call(Map args = [:]) { signArtifacts( artifactPath: args.source, platform: args.signingPlatform ?: 'linux', - sigtype: args.sigType ?: '.sig', + sigtype: args.sigtype ?: '.sig', overwrite: args.overwrite ?: false ) withCredentials([