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
ONAP: Ignore git normalization changes on checkout
[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 c11280a1bdf0bdfe0e4a6b9ada52059fe4281dd3..39bcac411a835c6f15e6a9773697730409ecdf8d 100644
(file)
--- a/
jjb/onap/global-templates-onap-java.yaml
+++ b/
jjb/onap/global-templates-onap-java.yaml
@@
-1,8
+1,6
@@
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
- node: onap-ubuntu1604
-
disabled: false
concurrent: true
disabled: false
concurrent: true
@@
-10,14
+8,20
@@
properties:
- logrotate
properties:
- logrotate
+ jdk-version: jdk8
+
parameters:
- project-parameters:
project: 'onap/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
parameters:
- project-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
@@
-31,10
+35,6
@@
name: MVN
default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
description: Path to mvn executable
name: MVN
default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
description: Path to mvn executable
- - string:
- name: NODE
- default: '${node}'
- description: node to do build on
scm:
- git-scm-gerrit:
scm:
- git-scm-gerrit: