Commit 07e5efc6863b3228f01efb005550d3a8f344fb4a
1 parent
f58964f4ca
Exists in
master
and in
3 other branches
Remove tessts KEA_F002-F008 temporarily
Showing 1 changed file with 0 additions and 42 deletions
kea_testing.groovy
View file @
07e5efc
... | ... | @@ -96,48 +96,6 @@ |
96 | 96 | if (responseCode != '200') { |
97 | 97 | error("$testName: Returned status code = $responseCode when calling $url") |
98 | 98 | } |
99 | - testName = "KEA_F002" | |
100 | - url = "$APP_URL:9091" | |
101 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
102 | - if (responseCode != '200') { | |
103 | - error("$testName: Returned status code = $responseCode when calling $url") | |
104 | - } | |
105 | - testName = "KEA_F003" | |
106 | - url = "$APP_URL:5000" | |
107 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
108 | - if (responseCode != '200') { | |
109 | - error("$testName: Returned status code = $responseCode when calling $url") | |
110 | - } | |
111 | - testName = "KEA_F004" | |
112 | - url = "$APP_URL:1883" | |
113 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
114 | - if (responseCode != '200') { | |
115 | - error("$testName: Returned status code = $responseCode when calling $url") | |
116 | - } | |
117 | - testName = "KEA_F005" | |
118 | - url = "$APP_URL:5432" | |
119 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
120 | - if (responseCode != '200') { | |
121 | - error("$testName: Returned status code = $responseCode when calling $url") | |
122 | - } | |
123 | - testName = "KEA_F006" | |
124 | - url = "$APP_URL:3001" | |
125 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
126 | - if (responseCode != '200') { | |
127 | - error("$testName: Returned status code = $responseCode when calling $url") | |
128 | - } | |
129 | - testName = "KEA_F007" | |
130 | - url = "$APP_URL:5611" | |
131 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
132 | - if (responseCode != '200') { | |
133 | - error("$testName: Returned status code = $responseCode when calling $url") | |
134 | - } | |
135 | - testName = "KEA_F008" | |
136 | - url = "$APP_URL:9091" | |
137 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true) | |
138 | - if (responseCode != '200') { | |
139 | - error("$testName: Returned status code = $responseCode when calling $url") | |
140 | - } | |
141 | 99 | } catch (ignored) { |
142 | 100 | currentBuild.result = 'FAILURE' |
143 | 101 | echo "KEA Deployment Tests failed" |