ONAP: Add rebase, push-upstrea jobs for doc project under new onap namespace.
Change-Id: I2e0b352931dccf580171e011111b25cdcca98ae7
diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml
new file mode 100644
index 0000000..5f79175
--- /dev/null
+++ b/jjb/onap/global-templates-onap-java.yaml
@@ -0,0 +1,53 @@
+- job-template:
+ name: 'onap-{project-name}-{stream}-verify-java'
+
+ node: onap-ubuntu1604
+
+ disabled: false
+
+ concurrent: true
+
+ properties:
+ - logrotate
+
+ parameters:
+ - project-parameters:
+ project: 'onap/{project}'
+ branch: '{branch}'
+ - nordix-gerrit-parameters
+ - string:
+ name: JAVA_HOME
+ default: /usr/lib/jvm/java-1.8.0-openjdk-amd64
+ description: Java home
+ - string:
+ name: MVN_VERSION
+ default: 3.3.9
+ description: Maven version
+ - string:
+ name: MVN_URL
+ default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
+ description: URL to download Maven
+ - string:
+ name: MVN
+ default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
+ description: Path to mvn executable
+
+ scm:
+ - git-scm-gerrit:
+ ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
+ branch: '{branch}'
+ refspec: $GERRIT_REFSPEC
+
+ triggers:
+ - nordix-gerrit-trigger-patchset-created:
+ project: 'onap/{project}'
+ branch: '{branch}'
+ files: '**'
+
+ wrappers:
+ - build-timeout:
+ timeout: 45
+
+ builders:
+ - shell:
+ !include-raw-escape: ../global/verify-jobs.sh