Unverified Commit 2ec2481c authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

Issue #000: Artifact version when parameter not specified

Showing with 1 addition and 1 deletion
+1 -1
......@@ -48,7 +48,7 @@ def call(){
artifact_name = sh(returnStdout: true, script: 'jq -r .artifact_name metadata.json').trim()
if (params.artifact_version == "") {
if (params.artifact_version == "" || params.artifact_version == null) {
println (ANSI_BOLD + ANSI_YELLOW + '''\
artifact_version not specified, using the artifact_version specified in metadata.json.
'''.stripIndent().replace("\n", " ") + ANSI_NORMAL)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment