From c6ff9c77817671e8e4a2dbc0c61162065878fde3 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Thu, 16 Feb 2017 11:11:45 -0500 Subject: new template skip tests Change-Id: I4776e85ab28926ba43f85627ba8e29bc59e24d09 Signed-off-by: Pamela Dragosh --- jjb/global-templates-java.yaml | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'jjb/global-templates-java.yaml') diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index 7f0df0ed7..f080a4854 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -1,4 +1,65 @@ --- +- job-template: + # Job template for Java verify jobs + # + # The purpose of this job template is to run "maven clean install" for + # projects using this template. + # + # Required Variables: + # branch: git branch (eg. stable/lithium or master) + + name: '{project-name}-{stream}-verify-java-skip-tests' + + project-type: freestyle + concurrent: true + node: '{build-node}' + + properties: + - ecomp-infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - ecomp-infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + + scm: + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - ecomp-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + server: '{server-name}' + project: '{project}' + branch: '{branch}' + files: '**' + + builders: + - provide-maven-settings: + global-settings-file: 'global-settings' + settings-file: '{mvn-settings}' + - maven-target: + maven-version: 'mvn33' + goals: 'clean install' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + maven-opts: + - maven.test.skip=true + +# publishers: +# - ecomp-infra-shiplogs: +# maven-version: 'mvn33' + + - job-template: # Job template for Java verify jobs # -- cgit 1.2.3-korg