Merge "add ci image building job"
diff --git a/jjb/metal3/job_capm3_e2e_basic_tests.yml b/jjb/metal3/job_capm3_e2e_basic_tests.yml
index a2071ef..2104cae 100644
--- a/jjb/metal3/job_capm3_e2e_basic_tests.yml
+++ b/jjb/metal3/job_capm3_e2e_basic_tests.yml
@@ -26,7 +26,7 @@
- job-template:
id: capm3_e2e_basic_tests
- name: '{job_prefix}_{proj}_{capm3_target_branch}_e2e_basic_test_{image_os}'
+ name: '{job_prefix}-{proj}-{capm3_target_branch}-e2e-basic-test-{image_os}'
description: "CAPM3 {capm3_version} e2e basic integration tests for {org}/{repo} on {image_os}."
project-type: pipeline
defaults: global
@@ -151,5 +151,5 @@
wipe-workspace: True
honor-refspec: True
shallow-clone: False
- script-path: "{ci_github_pipeline}"
+ script-path: "jenkins/jobs/prow_integration_tests.pipeline"
lightweight-checkout: False
diff --git a/jjb/oransc/global-templates-oran-java.yaml b/jjb/oransc/global-templates-oran-java.yaml
index 97d45d6..0a21b6b 100644
--- a/jjb/oransc/global-templates-oran-java.yaml
+++ b/jjb/oransc/global-templates-oran-java.yaml
@@ -62,3 +62,69 @@
builders:
- shell:
!include-raw-escape: ./verify-jobs.sh
+
+
+- job-template:
+ name: 'ties-{project-name}-verify-java'
+ node: oransc-ubuntu2004
+ disabled: false
+ concurrent: true
+ subdirectory:
+ trigger_branch_pattern: '**'
+ trigger_files_path_pattern: '**'
+
+ properties:
+ - logrotate
+
+ parameters:
+ - nordix-gerrit-parameters
+ - string:
+ name: PROJECT
+ default: '{project}'
+ description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
+ - string:
+ name: JAVA_HOME
+ default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
+ description: Java home
+ - string:
+ name: MVN_VERSION
+ default: 3.6.2
+ 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
+ - string:
+ name: GO_PATH
+ default: '/usr/local/go/bin'
+ description: Path to go executable
+ - string:
+ name: SUBDIRECTORY
+ default: '{subdirectory}'
+ description: Subdirectory of the project
+
+ scm:
+ - git-scm-gerrit:
+ ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
+ branch: $GERRIT_BRANCH
+ refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
+
+ triggers:
+ - nordix-gerrit-trigger-patchset-created:
+ project: '{project}'
+ branch: '{trigger_branch_pattern}'
+ files: '{trigger_files_path_pattern}'
+
+ wrappers:
+ - build-timeout:
+ timeout: 45
+
+ builders:
+ - shell:
+ !include-raw-escape: ./verify-jobs.sh
diff --git a/jjb/oransc/ties/ties-verify-job.yaml b/jjb/oransc/ties/ties-verify-job.yaml
new file mode 100644
index 0000000..3df20b5
--- /dev/null
+++ b/jjb/oransc/ties/ties-verify-job.yaml
@@ -0,0 +1,30 @@
+---
+# ============LICENSE_START=======================================================
+# Copyright (C) 2024 Nordix Foundation.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+# this job gets triggered when a change is proposed to
+# topology-exposure-inventory project on Nordix Gerrit.
+
+- project:
+ name: topology-exposure-inventory-verify
+ project: topology-exposure-inventory
+ project-name: topology-exposure-inventory
+ jdk-version: java-17
+
+ jobs:
+ - 'ties-{project-name}-verify-java'
\ No newline at end of file