commit | 436dbaeecbf61c047b1370f502cbe6391e01261e | [log] [tgz] |
---|---|---|
author | Paul King <paulk@asert.com.au> | Mon Sep 06 14:07:02 2021 +1000 |
committer | Paul King <paulk@asert.com.au> | Mon Sep 06 14:07:02 2021 +1000 |
tree | d36eb88841bcf7eb1588a0130591f94c3e5d5d3e | |
parent | 14c37ea81ad349b588167580c618ab268b1a6659 [diff] |
existing version in Jira allowed
diff --git a/gradle/phase2.gradle b/gradle/phase2.gradle index 104e5c3..7f76f20 100644 --- a/gradle/phase2.gradle +++ b/gradle/phase2.gradle
@@ -411,7 +411,7 @@ def body = /{ "name": "$nextVersion", "project": "GROOVY", "projectId": $projectId }/ request = HttpUtil.postRequest("$prefix/version", body, apacheUser, apachePassword) response = HttpUtil.send(client, request) - assert response.statusCode() == 200 + assert response.statusCode() in [200, 201] } } }