From a38d99762cafe14d73954da4fe2ce51a4f994b8d Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Fri, 5 Jan 2018 10:47:37 -0800 Subject: [PATCH] Fix PR build so that it doesn't require privileged --- ci/pipeline.yml | 2 +- ci/tasks/build-pr-project.yml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ci/tasks/build-pr-project.yml diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 5dff9a3b427..462fed0f07a 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -138,7 +138,7 @@ jobs: - task: build-project timeout: 1h30m image: spring-boot-ci-image - file: git-repo/ci/tasks/build-project.yml + file: git-repo/ci/tasks/build-pr-project.yml - aggregate: - task: build-samples timeout: 1h30m diff --git a/ci/tasks/build-pr-project.yml b/ci/tasks/build-pr-project.yml new file mode 100644 index 00000000000..9430bc0057b --- /dev/null +++ b/ci/tasks/build-pr-project.yml @@ -0,0 +1,11 @@ +--- +platform: linux +inputs: +- name: git-repo +outputs: +- name: distribution-repository +caches: +- path: maven +- path: gradle +run: + path: git-repo/ci/scripts/build-project.sh \ No newline at end of file