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: Updating job to Java11 for ccsdk-oran
[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 dd8411615bd4f0826dbd4135c5902d8bdf4f529c..7a3f2cecb34aebac71f4685d5cf266b4a3168428 100644
(file)
--- a/
jjb/onap/global-templates-onap-java.yaml
+++ b/
jjb/onap/global-templates-onap-java.yaml
@@
-1,31
+1,25
@@
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
+ disabled_job_var: false
+ node: onap-ubuntu1804
- disabled: false
-
+ disabled: '{obj:disabled_job_var}'
concurrent: true
concurrent: true
-
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/openjdk-amd64
+ default:
'/usr/lib/jvm/{jdk-version}-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
@@
-36,7
+30,6
@@
default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
description: Path to mvn executable
default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
description: Path to mvn executable
-
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
@@
-57,4
+50,4
@@
builders:
- shell:
builders:
- shell:
- !include-raw-escape: .
./global
/verify-jobs.sh
+ !include-raw-escape: ./verify-jobs.sh