Skip to content

Commit e1c6c05

Browse files
committed
fix: indent
1 parent d4a009c commit e1c6c05

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

jenkins/pipelines/QE/upg-sgw/Jenkinsfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ def resolveProgetVersion(String product, String version, String label) {
88
def resolved
99
if (isUnix()) {
1010
resolved = sh(
11-
script: """curl -sf '${url}' | python3 -c 'import json,sys;
12-
print(json.load(sys.stdin).get("version",""))'""",
13-
returnStdout: true
14-
).trim()
11+
script: "curl -sf '${url}' | python3 -c 'import json,sys; print(json.load(sys.stdin).get(\"version\",\"\"))'",
12+
returnStdout: true
13+
).trim()
1514
} else {
1615
resolved = powershell(script: """
1716
try { (Invoke-RestMethod '${url}').version }

jenkins/pipelines/QE/upg-sgw/Jenkinsfile_rolling

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ def resolveProgetVersion(String product, String version, String label) {
88
def resolved
99
if (isUnix()) {
1010
resolved = sh(
11-
script: """curl -sf '${url}' | python3 -c 'import json,sys;
12-
print(json.load(sys.stdin).get("version",""))'""",
13-
returnStdout: true
14-
).trim()
11+
script: "curl -sf '${url}' | python3 -c 'import json,sys; print(json.load(sys.stdin).get(\"version\",\"\"))'",
12+
returnStdout: true
13+
).trim()
1514
} else {
1615
resolved = powershell(script: """
1716
try { (Invoke-RestMethod '${url}').version }

0 commit comments

Comments
 (0)