summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-02-16 11:11:45 -0500
committerPamela Dragosh <pdragosh@research.att.com>2017-02-16 11:11:56 -0500
commitc6ff9c77817671e8e4a2dbc0c61162065878fde3 (patch)
treecc39382800667acf4fe58ba383e45298e32e7f88 /jjb
parent09b59035a5882b837067d9372665f85bc7c39ac1 (diff)
new template skip tests
Change-Id: I4776e85ab28926ba43f85627ba8e29bc59e24d09 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/global-templates-java.yaml61
-rw-r--r--jjb/policy/policy-common.yaml2
-rw-r--r--jjb/policy/policy-drools-pdp.yaml2
-rw-r--r--jjb/policy/policy-engine.yaml2
4 files changed, 66 insertions, 1 deletions
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
@@ -8,6 +8,67 @@
# 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
+ #
+ # 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'
project-type: freestyle
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: ''