Introduces pipeline that replaces the Bambook Spring HATEOAS one which builds on master branch and deploys to artifactory. Additionally: * Tests against JDK 8, 11, and 12 before doing the final build and deploy. * Also handles pull requests, running same suite of tests against mutiple JDKs.
12 lines
256 B
Bash
Executable File
12 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
|
|
|
|
rm -rf $HOME/.m2/repository/org/springframework/hateoas 2> /dev/null || :
|
|
|
|
cd spring-hateoas-github
|
|
|
|
./mvnw clean dependency:list test -P${PROFILE} -Dsort
|