Skip to content

Commit

Permalink
Fixing Jenkinsfile 1
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Dec 16, 2023
1 parent 57c05e2 commit 5a66aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ pipeline {
echo "HTTP response: $response"

if (code == 200) {
String tempStreams = sh(script: "echo '$response' | jq -M '.streams'", returnStdout: true)
int streams = Integer.parseInt(tempStreams)
int streams = sh(script: "echo '$response' | jq -M '.streams'", returnStdout: true)
//int streams = Integer.parseInt(tempStreams)
if (streams > 0) {
proceed = "no"
}
Expand Down

0 comments on commit 5a66aa4

Please sign in to comment.