This commit is contained in:
Vendored
-3
@@ -34,9 +34,6 @@ pipeline {
|
||||
// Read the jobspec.json file
|
||||
def jobSpec = readJSON file: 'jobspec.json'
|
||||
|
||||
// Use jq to add the hash to the jobspec
|
||||
def updatedJobSpec = sh(script: "jq '.meta[\"image_hash\"] = \"$imageHash\"' jobspec.json", returnStdout: true).trim()
|
||||
|
||||
// Write the updated jobspec back to the file
|
||||
def updatedJobSpec = sh(script: "jq '.meta[\"image_hash\"] = \"$imageHash\"' jobspec.json", returnStdout: true).trim()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user