...
Code Block |
---|
... scripts: ... - "if [[ $TRAVIS_PULL_REQUEST -eq 'false' ]]; then mvn package -Pwhitesource ; fi" |
For multi-module SNAPSHOT projects, the WhiteSource plugin fails due to unresolved dependencies; to work around this issue, use this configuration, instead of the one above.
Code Block |
---|
...
after_success:
...
- "if [[ $TRAVIS_PULL_REQUEST -eq 'false' ]]; then mvn whitesource:update -Pwhitesource ; fi" |
Multiple repositories
If you're managing a (Foundation) project that uses multiple github repositories, you may want to use the same WhiteSource productName
across the different project build configurations, by setting a product token.
...