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 +++++++++++++++++++++++++++++++++++++++ jjb/policy/policy-common.yaml | 2 +- jjb/policy/policy-drools-pdp.yaml | 2 ++ jjb/policy/policy-engine.yaml | 2 ++ 4 files changed, 66 insertions(+), 1 deletion(-) 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 # diff --git a/jjb/policy/policy-common.yaml b/jjb/policy/policy-common.yaml index 368390417..2021f9c3f 100644 --- a/jjb/policy/policy-common.yaml +++ b/jjb/policy/policy-common.yaml @@ -3,7 +3,7 @@ name: policy-common project-name: 'policy-common' jobs: - - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-verify-java-skip-tests' - '{project-name}-{stream}-merge-java' - '{project-name}-{stream}-release-java-daily' diff --git a/jjb/policy/policy-drools-pdp.yaml b/jjb/policy/policy-drools-pdp.yaml index 3ea404a34..fe204b870 100644 --- a/jjb/policy/policy-drools-pdp.yaml +++ b/jjb/policy/policy-drools-pdp.yaml @@ -12,5 +12,7 @@ - 'master': branch: 'master' mvn-settings: 'policy-drools-pdp-settings' + maven-deploy-properties: | + deployAtEnd=true files: '**' archive-artifacts: '' diff --git a/jjb/policy/policy-engine.yaml b/jjb/policy/policy-engine.yaml index 920e7f991..5af1d9c43 100644 --- a/jjb/policy/policy-engine.yaml +++ b/jjb/policy/policy-engine.yaml @@ -12,5 +12,7 @@ - 'master': branch: 'master' mvn-settings: 'policy-engine-settings' + maven-deploy-properties: | + deployAtEnd=true files: '**' archive-artifacts: '' -- cgit 1.2.3-korg