Commit f47345cd authored by Konstantin Khottchenkov's avatar Konstantin Khottchenkov
Browse files

fix subproject creation in it is absent

parent 726b1f17
Pipeline #26212 passed with stages
in 8 minutes and 48 seconds
......@@ -231,11 +231,15 @@
"});",
"",
"if (pm.environment.get(\"VCS_Provider\") === 'gitlab') {",
" var jsonData = pm.response.json();",
" if (pm.expect(jsonData.name).to.eql(pm.environment.get(\"subproject\"))) {",
" postman.setNextRequest(\"SUBPROJECT LIST\");",
" if (responseCode.code === 200) {",
" var jsonData = pm.response.json();",
" if (pm.expect(jsonData.name).to.eql(pm.environment.get(\"subproject\"))) {",
" postman.setNextRequest(\"SUBPROJECT LIST\");",
" } else {",
" postman.setNextRequest(\"SUBPROJECT REGISTER Gitlab\");",
" };",
" } else {",
" postman.setNextRequest(\"SUBPROJECT REGISTER Gitlab\");",
" postman.setNextRequest(\"SUBPROJECT REGISTER Gitlab\");",
" };",
"};"
],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment