X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-java.yaml;h=6c874e75cc2cb3bd75f3ac3aab7cbd6d7402a872;hb=72c2eef6463cae46fffd5180f192114431410693;hp=5f038aa3d0ccabb8b567105922176c1f74c19e6d;hpb=c75d04bfd8014c360eae49758886059ffa471025;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml index 5f038aa3..6c874e75 100644 --- a/jjb/onap/global-templates-onap-java.yaml +++ b/jjb/onap/global-templates-onap-java.yaml @@ -66,3 +66,50 @@ 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