blob: a3b881c22274da632b2780eff71e778d88d56f05 [file] [log] [blame]
- job-template:
name: 'onap-{project-name}-{stream}-verify-java'
disabled_job_var: false
node: onap-ubuntu1804
disabled: '{obj:disabled_job_var}'
concurrent: true
mvn_settings_xml_version:
mvn_params:
mvn_version: 3.5.4
subdirectory:
properties:
- logrotate
parameters:
- project-parameters:
project: 'onap/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
- nordix-onap-java-build-parameters
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
project: 'onap/{project}'
branch: '{branch}'
files: '**'
wrappers:
- build-timeout:
timeout: 45
builders:
- shell:
!include-raw-escape: ./verify-jobs.sh
- job-template:
name: 'onap-{project-name}-{stream}-time-trigger-java'
disabled_job_var: false
node: onap-ubuntu1804
disabled: '{obj:disabled_job_var}'
concurrent: true
mvn_settings_xml_version:
mvn_params:
mvn_version: 3.5.4
subdirectory:
properties:
- logrotate
parameters:
- project-parameters:
project: 'onap/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
- nordix-onap-java-build-parameters
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
triggers:
- timed: '{timer}'
wrappers:
- build-timeout:
timeout: 45
builders:
- shell:
!include-raw-escape: ./verify-jobs.sh
# csits for diferent projects are different so need to have special handling
- job-template:
name: 'onap-policy-docker-{stream}-csit-java'
disabled_job_var: false
node: onap-ubuntu1804
disabled: '{obj:disabled_job_var}'
concurrent: true
properties:
- logrotate
parameters:
- project-parameters:
project: 'onap/{project}'
branch: '{branch}'
- nordix-gerrit-parameters
- string:
name: JAVA_HOME
default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
description: Java home
- string:
name: CSIT_TEST_NAMES
default: '{csit_test_names}'
description: The name of the csits test to run
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: 'master'
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
project: 'onap/{project}'
branch: '{branch}'
files: '**'
wrappers:
- build-timeout:
timeout: 45
builders:
- 'wait-pkg-mgr-macro'
- shell:
!include-raw-escape: ./policy-docker-csit-jobs.sh