diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34150512d6a090fe13e7a85a6384bd7a38d1ab69..184cb69c4b8a7c4958060587a6ea0a46d83ef2f8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,8 @@ build: stage: build script: - mvn clean install -B -DskipTests -Dcheckstyle.fail=false + - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:javadoc + - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:aggregate tags: - shared-fi rules: @@ -44,17 +46,17 @@ test: document: stage: document script: - - mvn -U -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:javadoc + - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:javadoc - mvn -Dauthor=false -Dcheckstyle.fail=false -DadditionalJOption=-Xdoclint:none javadoc:aggregate tags: - shared-fi rules: - if: '$CI_COMMIT_BRANCH' -# - if: '$CI_COMMIT_BRANCH == "master"' -# changes: -# - VERSION.txt -# - if: '$CI_COMMIT_BRANCH' -# when: never + - if: '$CI_COMMIT_BRANCH == "master"' + changes: + - VERSION.txt + - if: '$CI_COMMIT_BRANCH' + when: never artifacts: paths: - MeshModel/target/site/apidocs/