Skip to content

Instantly share code, notes, and snippets.

@dblevins
Last active October 12, 2022 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dblevins/b39cc3300bcdd89b426ca33b87b5452b to your computer and use it in GitHub Desktop.
Save dblevins/b39cc3300bcdd89b426ca33b87b5452b to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /tmp &&
git clone https://github.com/apache/tomee.git &&
cd tomee || exit 1
##
## Grab the same revision so we're all comparing the
## exact same code
##
git checkout 692a68989112c0c95c07b28bc13a0d7ebdb0cc8f
##
## Do a build with no tests so all binaries are downloaded
## to ensure we're not comparing network times
##
mvn clean install -DskipTests -DfailIfNoTests=false
##
## Now do a full build exactly as it is done in Jenkins
## Save the results in build.log
##
mvn -U --show-version -fn clean install -Pall-adapters -Dfile.encoding=UTF-8 | tee build.log
@dblevins
Copy link
Author

@rzo1 done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment