Skip to content

Commit

Permalink
Adding messages so it is known if it will deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Dec 16, 2023
1 parent b1797e2 commit 5cd68e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ pipeline {
tempStreams = sh(script: "echo '$response' | jq -M '.streams'", returnStdout: true).trim()
int streams = Integer.parseInt(tempStreams)
if (streams > 0) {
echo "Preexisting active streams: $streams, not deploying"
proceed = "no"
} else {
echo "No preexisting active streams, deploying"
}
}
}
Expand Down

0 comments on commit 5cd68e4

Please sign in to comment.