Showing
1 changed file
with
1 additions
and
4 deletions
@@ -120,13 +120,10 @@ pipeline { | @@ -120,13 +120,10 @@ pipeline { | ||
120 | for(int i = 0;i<=60;i++) { | 120 | for(int i = 0;i<=60;i++) { |
121 | def result = sh returnStdout: true ,script: "$CHECKKUBE" | 121 | def result = sh returnStdout: true ,script: "$CHECKKUBE" |
122 | result = result.trim() | 122 | result = result.trim() |
123 | - print "----show the deployment info ---" | ||
124 | - print result | ||
125 | - print "----end the deployment info ---" | 123 | + print "request time is : "+i+"and the result is : "+result |
126 | if(result==''){ | 124 | if(result==''){ |
127 | error 'the is no date,please check the result' | 125 | error 'the is no date,please check the result' |
128 | } | 126 | } |
129 | - print "request time is : "+i+"and the result is : "+result | ||
130 | def compare = result.split(" ") | 127 | def compare = result.split(" ") |
131 | if(compare[3]==compare[0]&&compare[3]==compare[1]&&compare[3]==compare[2]){ | 128 | if(compare[3]==compare[0]&&compare[3]==compare[1]&&compare[3]==compare[2]){ |
132 | print "----show the pods info ----" | 129 | print "----show the pods info ----" |
-
Please register or login to post a comment