提交 362db1d0 编写于 作者: T tangfangzhi

fix: add escape character to fix syntax error

上级 4344e549
...@@ -327,11 +327,11 @@ pipeline { ...@@ -327,11 +327,11 @@ pipeline {
steps { steps {
script { script {
linux_node_ip = sh ( linux_node_ip = sh (
script: 'jq .ip /home/node_info.json | sed "s/\"//g"', script: 'jq .ip /home/node_info.json | sed "s/\\\"//g"',
returnStdout: true returnStdout: true
).trim() ).trim()
linux_node_pass = sh ( linux_node_pass = sh (
script: 'jq .password /home/node_info.json | sed "s/\"//g"', script: 'jq .password /home/node_info.json | sed "s/\\\"//g"',
returnStdout: true returnStdout: true
).trim() ).trim()
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册