Add Jenkins Jobs for new created repo usecase-ui/intent-analysis
Signed-off-by: xudan16 <xudan16@huawei.com>
Issue-ID: CIMAN-418
Change-Id: Ie18a0e008913e962d3994d9d38480266a9c6c19d
diff --git a/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/config-params.yaml b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/config-params.yaml
new file mode 100644
index 0000000..0d03709
--- /dev/null
+++ b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/config-params.yaml
@@ -0,0 +1,3 @@
+---
+name: "usecase-ui-intent-analysis-settings"
+comment: "usecase-ui-intent-analysis-settings"
diff --git a/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/content b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/content
new file mode 120000
index 0000000..e830ebd
--- /dev/null
+++ b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/content
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-content
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/serverCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/serverCredentialMappings.sandbox.yaml
new file mode 120000
index 0000000..8f92057
--- /dev/null
+++ b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/serverCredentialMappings.sandbox.yaml
@@ -0,0 +1 @@
+../../../managed-config-templates/mavenSettings-serverCredentialMappings.sandbox.yaml
\ No newline at end of file
diff --git a/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/serverCredentialMappings.yaml b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/serverCredentialMappings.yaml
new file mode 100644
index 0000000..b5a6557
--- /dev/null
+++ b/jenkins-config/managed-config-files/mavenSettings/usecase-ui-intent-analysis-settings/serverCredentialMappings.yaml
@@ -0,0 +1,18 @@
+---
+serverCredentialMappings:
+ - serverId: "ecomp-snapshots"
+ credentialsId: &cred "usecase-ui-intent-analysis"
+ - serverId: "ecomp-site"
+ credentialsId: *cred
+ - serverId: "ecomp-staging"
+ credentialsId: *cred
+ - serverId: "nexus3.onap.org:10001"
+ credentialsId: "read-only-docker"
+ - serverId: "nexus3.onap.org:10002"
+ credentialsId: *cred
+ - serverId: "nexus3.onap.org:10003"
+ credentialsId: *cred
+ - serverId: "nexus3.onap.org:10004"
+ credentialsId: *cred
+ - serverId: "docker.io"
+ credentialsId: "onap_dockerhub_creds"
diff --git a/jjb/usecaseui/usecase-ui-intent-analysis.yaml b/jjb/usecaseui/usecase-ui-intent-analysis.yaml
new file mode 100644
index 0000000..b6dcc21
--- /dev/null
+++ b/jjb/usecaseui/usecase-ui-intent-analysis.yaml
@@ -0,0 +1,75 @@
+---
+
+- project:
+ name: usecase-ui-intent-analysis
+ project-name: 'usecase-ui-intent-analysis'
+ project: 'usecase-ui/intent-analysis'
+ stream:
+ - 'master':
+ branch: 'master'
+ - 'kohn':
+ branch: 'kohn'
+ mvn-settings: 'usecase-ui-intent-analysis-settings'
+ jobs:
+ - '{project-name}-{stream}-verify-java'
+ - '{project-name}-{stream}-merge-java'
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos7-builder-4c-4g
+ maven-versions-plugin: true
+ - gerrit-maven-docker-stage:
+ build-node: ubuntu1804-docker-8c-8g
+ mvn-params: '-P docker -Dmaven.test.skip=true'
+ container-public-registry: 'nexus3.onap.org:10001'
+ container-staging-registry: 'nexus3.onap.org:10003'
+ - '{project-name}-gerrit-release-jobs':
+ build-node: centos7-docker-8c-8g
+ java-version: openjdk11
+ files: '**'
+ archive-artifacts: ''
+ docker-pom: 'pom.xml'
+ build-node: ubuntu1804-builder-4c-4g
+
+- project:
+ name: usecase-ui-intent-analysis-sonar
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: '{sonarcloud_project_organization}'
+ sonarcloud-api-token: '{sonarcloud_api_token}'
+ sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+ sonar-mvn-goal: '{sonar_mvn_goal}'
+ cron: '@daily'
+ build-node: ubuntu1804-builder-4c-4g
+ project: 'usecase-ui/intent-analysis'
+ project-name: 'usecase-ui-intent-analysis'
+ branch: 'master'
+ mvn-settings: 'usecase-ui-intent-analysis-settings'
+ java-version: openjdk11
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
+- project:
+ name: usecase-ui-intent-analysis-clm
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: 'onap-'
+ project: usecase-ui/intent-analysis
+ project-name: 'usecase-ui-intent-analysis'
+ build-node: ubuntu1804-builder-4c-4g
+ stream:
+ - 'master':
+ branch: 'master'
+ - 'kohn':
+ branch: 'kohn'
+ mvn-settings: 'usecase-ui-intent-analysis-settings'
+ java-version: openjdk11
+
+- project:
+ name: usecase-ui-intent-analysis-info
+ project-name: usecase-ui-intent-analysis
+ jobs:
+ - gerrit-info-yaml-verify
+ build-node: centos7-builder-2c-1g
+ project: usecase-ui/intent-analysis
+ branch: master