diff --git a/ci/verify_docs_alive.sh b/ci/verify_docs_alive.sh index c70d215e8..d2a11456d 100755 --- a/ci/verify_docs_alive.sh +++ b/ci/verify_docs_alive.sh @@ -3,9 +3,8 @@ set -e # fail fast set -x BASE_URL=https://taskana.azurewebsites.net/taskana -test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/rest-api.html")" -test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/simplehistory-rest-api.html")" -test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/rest/routing-rest-api.html")" +test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/api-docs")" +test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/swagger-ui/index.html")" for module in taskana-core taskana-spring; do test 200 -eq "$(curl -sw "%{http_code}" -o /dev/null "$BASE_URL/docs/java/$module/index.html")" done diff --git a/ci/verify_docs_jar.sh b/ci/verify_docs_jar.sh index c794aaa81..dba89993a 100755 --- a/ci/verify_docs_jar.sh +++ b/ci/verify_docs_jar.sh @@ -21,8 +21,5 @@ verifyDocs "$REL/../lib/taskana-spring/target/apidocs" "/static/docs/java/taskan test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-core/index.html)" test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-spring/index.html)" test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/java/taskana-cdi/pro/taskana/common/internal/package-summary.html)" -test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/rest-api.html)" -test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/simplehistory-rest-api.html)" -test -n "$(jar -tf "$JAR_FILE_LOCATION" | grep /static/docs/rest/routing-rest-api.html)" set +x echo "the jar file '$JAR_FILE_LOCATION' contains documentation"