From 02e26760ee065231cd8287f1d8fba033d2a376b5 Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Fri, 27 Jan 2017 14:06:09 -0800 Subject: [PATCH] Add a 'one-off' task to run single test case on concourse --- concourse/tasks/run-manifest-yaml-test.yml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 concourse/tasks/run-manifest-yaml-test.yml diff --git a/concourse/tasks/run-manifest-yaml-test.yml b/concourse/tasks/run-manifest-yaml-test.yml new file mode 100644 index 000000000..0a725c4aa --- /dev/null +++ b/concourse/tasks/run-manifest-yaml-test.yml @@ -0,0 +1,27 @@ +# +# A one-of task you can run on concourse to run a single maven test +# +# Run this with the following command from the ROOT of the sts4 repo: +# +# fly -t tools execute -x --config concourse/tasks/run-manifest-yaml-test.yml +inputs: +- name: sts4 +platform: linux +image_resource: + type: docker-image + source: + repository: kdvolder/sts4-build-env +run: + dir: sts4/vscode-extensions/vscode-manifest-yaml + path: ../mvnw + args: + - "-U" + - "-f" + - "../pom.xml" + - "-pl" + - "vscode-manifest-yaml" + - "-am" + - "-DfailIfNoTests=false" + - "-Dtest=ManifestYamlEditorTest#reconcileShowsWarningOnUnknownService" + - "clean" + - "install" \ No newline at end of file