DATACMNS-1536 - Introduce Jenkins.

This commit is contained in:
Greg Turnquist
2019-05-13 13:40:57 -05:00
parent d6bb21d24f
commit 97e41dd153
7 changed files with 131 additions and 62 deletions

View File

@@ -2,13 +2,4 @@
set -euo pipefail
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
spring_data_commons_artifactory=$(pwd)/spring-data-commons-artifactory
rm -rf $HOME/.m2/repository/org/springframework/data/commons 2> /dev/null || :
cd spring-data-commons-github
./mvnw -Dmaven.test.skip=true clean deploy \
-DaltDeploymentRepository=distribution::default::file://${spring_data_commons_artifactory}
./mvnw -P${PROFILE} -Dmaven.test.skip=true clean deploy -B

View File

@@ -1,20 +0,0 @@
---
platform: linux
image_resource:
type: docker-image
source:
repository: openjdk
tag: 8-jdk
inputs:
- name: spring-data-commons-github
outputs:
- name: spring-data-commons-artifactory
caches:
- path: maven
run:
path: spring-data-commons-github/ci/build.sh

View File

@@ -2,10 +2,4 @@
set -euo pipefail
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
rm -rf $HOME/.m2/repository/org/springframework/data/commons 2> /dev/null || :
cd spring-data-commons-github
./mvnw clean dependency:list test -P${PROFILE} -Dsort
./mvnw -P${PROFILE} clean dependency:list test -Dsort -B

View File

@@ -1,17 +0,0 @@
---
platform: linux
image_resource:
type: docker-image
source:
repository: openjdk
tag: 8-jdk
inputs:
- name: spring-data-commons-github
caches:
- path: maven
run:
path: spring-data-commons-github/ci/test.sh