mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
Reduce log level to avoid Travis CI build failure (#14946)
* reduce log level to avoid travis build failure * add new file
This commit is contained in:
parent
dc1386c134
commit
644bccfd92
@ -157,7 +157,7 @@ after_success:
|
|||||||
- if [ $SONATYPE_USERNAME ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
- if [ $SONATYPE_USERNAME ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ]; then
|
if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ]; then
|
||||||
echo "Publishing from branch $TRAVIS_BRANCH";
|
echo "Publishing from branch $TRAVIS_BRANCH";
|
||||||
mvn clean deploy -DskipTests=true -B -U -P release --settings CI/settings.xml;
|
mvn clean deploy -DskipTests=true -B -U -P release --settings CI/settings.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error;
|
||||||
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
|
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
|
||||||
pushd .;
|
pushd .;
|
||||||
cd modules/openapi-generator-gradle-plugin;
|
cd modules/openapi-generator-gradle-plugin;
|
||||||
@ -166,7 +166,7 @@ after_success:
|
|||||||
popd;
|
popd;
|
||||||
elif [ -z $TRAVIS_TAG ] && [[ "$TRAVIS_BRANCH" =~ ^[0-9]+\.[0-9]+\.x$ ]]; then
|
elif [ -z $TRAVIS_TAG ] && [[ "$TRAVIS_BRANCH" =~ ^[0-9]+\.[0-9]+\.x$ ]]; then
|
||||||
echo "Publishing from branch $TRAVIS_BRANCH";
|
echo "Publishing from branch $TRAVIS_BRANCH";
|
||||||
mvn clean deploy --settings CI/settings.xml;
|
mvn clean deploy --settings CI/settings.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error;
|
||||||
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
|
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
|
||||||
pushd .;
|
pushd .;
|
||||||
cd modules/openapi-generator-gradle-plugin;
|
cd modules/openapi-generator-gradle-plugin;
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
package org.openapitools.api;
|
||||||
|
|
||||||
|
public class RestResourceRoot {
|
||||||
|
public static final String APPLICATION_PATH = "";
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user