Last active
October 12, 2022 17:12
-
-
Save dblevins/b39cc3300bcdd89b426ca33b87b5452b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dblevins We need to switch to
https://github.com/apache/tomee.git
instead of the SSH connection. Not everyone might have a priivate / public key setup in the background.