fix: Jenkins syntax error

This commit is contained in:
tangfangzhi 2022-06-04 10:00:42 +08:00
parent dace8970f6
commit 23d9bebaa7
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ pipeline {
returnStdout: true
).trim()
linux_node_pass = sh (
script: 'jq .password /home/node_info.json | sed "s/\\\"//g" |sed "s/\\\!/^^^^\\\!/g"',
script: 'jq .password /home/node_info.json | sed "s/\\\"//g" |sed "s/\\!/^^^^\\!/g"',
returnStdout: true
).trim()
echo "${linux_node_ip}:${linux_node_pass}"