...
|
...
|
@@ -120,13 +120,10 @@ pipeline { |
|
|
for(int i = 0;i<=60;i++) {
|
|
|
def result = sh returnStdout: true ,script: "$CHECKKUBE"
|
|
|
result = result.trim()
|
|
|
print "----show the deployment info ---"
|
|
|
print result
|
|
|
print "----end the deployment info ---"
|
|
|
print "request time is : "+i+"and the result is : "+result
|
|
|
if(result==''){
|
|
|
error 'the is no date,please check the result'
|
|
|
}
|
|
|
print "request time is : "+i+"and the result is : "+result
|
|
|
def compare = result.split(" ")
|
|
|
if(compare[3]==compare[0]&&compare[3]==compare[1]&&compare[3]==compare[2]){
|
|
|
print "----show the pods info ----"
|
...
|
...
|
|