Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
engine: Correct branch names for onap stack
[infra/cicd.git]
/
jjb
/
onap
/
global-templates-onap-java.yaml
diff --git
a/jjb/onap/global-templates-onap-java.yaml
b/jjb/onap/global-templates-onap-java.yaml
index 5f79175d3d0496016821e5cf78f49755d5502568..d9143a707c29fc7390fa7a3780ba4e248dd9acfc 100644
(file)
--- a/
jjb/onap/global-templates-onap-java.yaml
+++ b/
jjb/onap/global-templates-onap-java.yaml
@@
-1,12
+1,10
@@
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
+ disabled_job_var: false
+ jdk-version: jdk8
- node: onap-ubuntu1604
-
- disabled: false
-
+ disabled: '{obj:disabled_job_var}'
concurrent: true
concurrent: true
-
properties:
- logrotate
properties:
- logrotate
@@
-15,13
+13,17
@@
project: 'onap/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
project: 'onap/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
+ - label:
+ name: SLAVE_LABEL
+ default: 'onap-build-ubuntu1604-{jdk-version}'
+ description: 'Slave label to schedule this job on'
- string:
name: JAVA_HOME
- string:
name: JAVA_HOME
- default: /usr/lib/jvm/
java-1.8.0-
openjdk-amd64
+ default: /usr/lib/jvm/openjdk-amd64
description: Java home
- string:
name: MVN_VERSION
description: Java home
- string:
name: MVN_VERSION
- default: 3.
3.9
+ default: 3.
5.4
description: Maven version
- string:
name: MVN_URL
description: Maven version
- string:
name: MVN_URL
@@
-37,6
+39,8
@@
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created: