This commit is contained in:
Vendored
+1
-1
@@ -29,7 +29,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
// Calculate the hash of your Docker image (or your application code)
|
// Calculate the hash of your Docker image (or your application code)
|
||||||
def imageHash = sh(script: "docker images --no-trunc $IMAGE_NAME | grep latest | awk '{print $3}'", returnStdout: true).trim()
|
def imageHash = sh(script: "docker images --no-trunc $IMAGE_NAME | grep latest | awk '{print \$3}'", returnStdout: true).trim()
|
||||||
|
|
||||||
// Read the jobspec.json file
|
// Read the jobspec.json file
|
||||||
def jobSpec = readJSON file: 'jobspec.json'
|
def jobSpec = readJSON file: 'jobspec.json'
|
||||||
|
|||||||
Reference in New Issue
Block a user