forked from loafle/openapi-generator-original
move mvn to script
This commit is contained in:
parent
8544382d53
commit
2177039d7c
@ -84,10 +84,10 @@ script:
|
|||||||
- /bin/bash ./bin/utils/detect_merge_conflict.sh
|
- /bin/bash ./bin/utils/detect_merge_conflict.sh
|
||||||
# fail if generators contain tab '\t'
|
# fail if generators contain tab '\t'
|
||||||
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
|
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
|
||||||
|
- mvn verify
|
||||||
after_success:
|
after_success:
|
||||||
## docker build and push images to DockerHub (openapi-generator-online, openapi-generator-cli)
|
## docker build and push images to DockerHub (openapi-generator-online, openapi-generator-cli)
|
||||||
- set -ev
|
- set -ev
|
||||||
- mvn verify
|
|
||||||
- read -r MVN_VERSION_FOR_DOCKER_TAG < target/ci/version-for-docker-tag.txt
|
- read -r MVN_VERSION_FOR_DOCKER_TAG < target/ci/version-for-docker-tag.txt
|
||||||
- echo "Tag for Docker derived from maven version -> $MVN_VERSION_FOR_DOCKER_TAG"; sleep 5;
|
- echo "Tag for Docker derived from maven version -> $MVN_VERSION_FOR_DOCKER_TAG"; sleep 5;
|
||||||
- if [ $DOCKER_HUB_USERNAME ]; then
|
- if [ $DOCKER_HUB_USERNAME ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user