Files
spring-hateoas/ci/build.sh
Greg Turnquist 456507b387 #769 - Backport Concourse CI support to 0.25.x.
Introduces pipeline that replaces the Bamboo Spring HATEOAS one which builds on master branch and deploys to artifactory.

Additionally:

* Tests against JDK 8 before doing the final build and deploy.
* No JDK 11+ support.
* Also handles pull requests.
2018-12-17 11:49:49 -06:00

15 lines
409 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
spring_hateoas_artifactory=$(pwd)/spring-hateoas-artifactory
rm -rf $HOME/.m2/repository/org/springframework/hateoas 2> /dev/null || :
cd spring-hateoas-github
./mvnw -Pdistribute -Dmaven.test.skip=true clean deploy \
-DaltDeploymentRepository=distribution::default::file://${spring_hateoas_artifactory}