Closed Androbin closed 4 years ago
The openjdk11
build passed, is the openjdk8
build flaky?
openjdk8
build works. Seems your branch was created before the token to Sonarcloud was added. Please try to merge differences in .travis.yml into your file.
As it turns out, MAVEN_OPTS
is a string that really should be an array. I reverted the relevant change and left a TODO comment instead.
@DG0lden Are you sure that the token is available to builds triggered by Pull Requests? I have seen cases where they were configured differently (for security purposes, so you couldn't print the token), which effectively meant that certain test would never work on PR, even if they do after being merged into master.
@Androbin you are right, secret variables are not populated to PRs
Thanks! Your changes were merged step-by-step to avoid conflicts. So, this pull request could be closed.
$(...)
notation instead of legacy backticked`...`
.cd ... || exit
orcd ... || return
in casecd
fails.which
is non-standard. Use builtincommand -v
instead.echo
? Instead ofecho $(cmd)
, just usecmd
.