Open chahuistle opened 6 years ago
I guess the Maven command would look like mvn $MAVEN_EXTRA_OPTS ...
and somewhere in .travis.yml
, probably at the before_install
, we could read/set the variable:
before_install: if [ "$MAVEN_EXTRA_OPTS" = ""] then
export MAVEN_EXTRA_OPTS="--quiet";
fi;
And we could set MAVEN_EXTRA_OPTS
using Travis CI's UI to --debug
.
Of course, we have to edit .travis.yml
to implement this feature.
It is possible to define variables on Travis CI without editing
.travis.yml
. A useful feature to troubleshoot erroring builds would would be to be able to rerun a build in "debug mode" without having to edit any files.