Unverified Commit 95b58ae6 authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

fix: find and replace as per new write

Showing with 1 addition and 1 deletion
+1 -1
......@@ -31,7 +31,7 @@ def call() {
image_name = sh(returnStdout: true, script: 'jq -r .image_name metadata.json').trim()
image_tag = sh(returnStdout: true, script: 'jq -r .image_tag metadata.json').trim()
sh """
sed -i "s/${image_name}.*//g" ${JENKINS_HOME}/summary/${envDir}/summary.txt
sed -i "s/${module}-${jobName}.*//g" ${JENKINS_HOME}/summary/${envDir}/summary.txt
sed -i "/^\\\$/d" ${JENKINS_HOME}/summary/${envDir}/summary.txt
echo "${module}-${jobName} : ${image_tag}" >> $JENKINS_HOME/summary/${envDir}/summary.txt
"""
......
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