Commit e65c2122 authored by Tushar Shah's avatar Tushar Shah

format

parent 16b0527c
......@@ -1249,10 +1249,10 @@ jobs:
name: Extract value from file1
command: |
VALUE1_MATCH=$(echo "$SCRIPT" | awk -v PATTERN='<< parameters.pattern_file1 >>' -f- "<< parameters.file1_path >>")
if [ $? -ne 0 ]; then
exit 1
fi
VALUE1=$(echo "$VALUE1_MATCH" | awk -F'=' '{print $2}' | tr -d ' ;')
echo "Value:"
echo "$VALUE1"
......@@ -1262,7 +1262,6 @@ jobs:
name: Extract value from file2
command: |
VALUE2_MATCH=$(echo "$SCRIPT" | awk -v PATTERN='<< parameters.pattern_file2 >>' -f- "<< parameters.file2_path >>")
if [ $? -ne 0 ]; then
exit 1
fi
......
Markdown is supported
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