diff options
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/aai/aai-aai-service.yaml | 15 | ||||
-rw-r--r-- | jjb/aai/aai-logging-service.yaml | 15 | ||||
-rw-r--r-- | jjb/aai/aai-model-loader.yaml | 15 | ||||
-rw-r--r-- | jjb/appc/appc-deployment.yaml | 16 | ||||
-rw-r--r-- | jjb/appc/appc.yaml | 16 | ||||
-rw-r--r-- | jjb/demo/demo.yaml | 16 | ||||
-rw-r--r-- | jjb/global-macros.yaml | 33 | ||||
-rw-r--r-- | jjb/global-templates-java.yaml | 49 | ||||
-rw-r--r-- | jjb/global-templates-python.yaml | 3 | ||||
-rw-r--r-- | jjb/mso/mso.yaml | 11 | ||||
-rw-r--r-- | jjb/sdc/sdc-sdc_common.yaml | 16 | ||||
-rw-r--r-- | jjb/sdc/sdc.yaml | 16 | ||||
-rw-r--r-- | jjb/sdc/sdc_distribution_client.yaml | 16 |
13 files changed, 236 insertions, 1 deletions
diff --git a/jjb/aai/aai-aai-service.yaml b/jjb/aai/aai-aai-service.yaml new file mode 100644 index 000000000..f95e79c6c --- /dev/null +++ b/jjb/aai/aai-aai-service.yaml @@ -0,0 +1,15 @@ +--- +- project: + name: aai-aai-service + project-name: 'aai-aai-service' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'aai/aai-service' + stream: + - 'master': + branch: 'master' + mvn-settings: 'aai-aai-service-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/aai/aai-logging-service.yaml b/jjb/aai/aai-logging-service.yaml new file mode 100644 index 000000000..484028e39 --- /dev/null +++ b/jjb/aai/aai-logging-service.yaml @@ -0,0 +1,15 @@ +--- +- project: + name: aai-logging-service + project-name: 'aai-logging-service' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'aai/logging-service' + stream: + - 'master': + branch: 'master' + mvn-settings: 'aai-logging-service-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/aai/aai-model-loader.yaml b/jjb/aai/aai-model-loader.yaml new file mode 100644 index 000000000..8d5f9399c --- /dev/null +++ b/jjb/aai/aai-model-loader.yaml @@ -0,0 +1,15 @@ +--- +- project: + name: aai-model-loader + project-name: 'aai-model-loader' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'aai/model-loader' + stream: + - 'master': + branch: 'master' + mvn-settings: 'aai-model-loader-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/appc/appc-deployment.yaml b/jjb/appc/appc-deployment.yaml new file mode 100644 index 000000000..fdc48b63a --- /dev/null +++ b/jjb/appc/appc-deployment.yaml @@ -0,0 +1,16 @@ +--- + +- project: + name: appc-deployment + project-name: 'appc-deployment' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'appc/deployment' + stream: + - 'master': + branch: 'master' + mvn-settings: 'appc-deployment-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/appc/appc.yaml b/jjb/appc/appc.yaml new file mode 100644 index 000000000..b03a9b741 --- /dev/null +++ b/jjb/appc/appc.yaml @@ -0,0 +1,16 @@ +--- + +- project: + name: appc + project-name: 'appc' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'appc' + stream: + - 'master': + branch: 'master' + mvn-settings: 'appc-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/demo/demo.yaml b/jjb/demo/demo.yaml new file mode 100644 index 000000000..47fa0a8ce --- /dev/null +++ b/jjb/demo/demo.yaml @@ -0,0 +1,16 @@ +--- + +- project: + name: demo + project-name: 'demo' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'demo' + stream: + - 'master': + branch: 'master' + mvn-settings: 'demo-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index a9681033f..d8ced3498 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -20,6 +20,38 @@ - file-id: '{settings-file}' variable: 'SETTINGS_FILE' +- builder: + name: maven-docker-push-release + builders: + - maven-target: + maven-version: 'mvn33' + pom: '{pom}' + goals: 'clean deploy -P {profile-name} -B' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + properties: + - maven.test.skip=true + - docker.pull.registry=nexus3.openecomp.org:10001 + - docker.push.registry=nexus3.openecomp.org:10002 + +- builder: + name: maven-docker-push-daily + builders: + - maven-target: + maven-version: 'mvn33' + pom: '{pom}' + goals: 'clean deploy -P {profile-name} -B' + settings: '{mvn-settings}' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + properties: + - maven.test.skip=true + - docker.pull.registry=nexus3.openecomp.org:10001 + - docker.push.registry=nexus3.openecomp.org:10003 + # PARAMETERS - parameter: name: ecomp-infra-parameters @@ -221,7 +253,6 @@ wipe-workspace: false basedir: '{checkout-dir}' - # TRIGGERS # This is a single macro to use for all jobs who vote on every (relevant) patch diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index 039bc2ee1..ca18d035d 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -303,3 +303,52 @@ # publishers: # - ecomp-infra-shiplogs: # maven-version: 'mvn33' + +- job-template: + name: '{project-name}-{stream}-docker-java-daily' + project-type: freestyle + + properties: + - ecomp-infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - ecomp-infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + + scm: + - gerrit-trigger-scm: + refspec: '' + choosing-strategy: 'default' + + - git-extra-project: + refspec: 'refs/heads/{extra-branch}' + project: '{extra-project}' + branch: '{extra-branch}' + checkout-dir: '{extra-checkout-dir}' + + - git-extra-project: + refspec: 'refs/heads/{extra-branch-2}' + project: '{extra-project-2}' + branch: '{extra-branch-2}' + checkout-dir: '{extra-checkout-dir-2}' + + wrappers: + - ecomp-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + # 11 AM UTC + - timed: 'H 12 * * *' + + builders: + - provide-maven-settings: + global-settings-file: 'global-settings' + settings-file: '{mvn-settings}' + - maven-docker-push-daily: + profile-name: '{profile-name}' + mvn-settings: '{mvn-settings}' + pom: '{docker-pom}' diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml index f0663bc1f..7404b7e74 100644 --- a/jjb/global-templates-python.yaml +++ b/jjb/global-templates-python.yaml @@ -48,6 +48,9 @@ files: '{pattern}' builders: + - provide-maven-settings: + global-settings-file: 'global-settings' + settings-file: '{mvn-settings}' - shell: | virtualenv $WORKSPACE/venv-tox source $WORKSPACE/venv-tox/bin/activate diff --git a/jjb/mso/mso.yaml b/jjb/mso/mso.yaml index c007b0097..bbeb8e4c1 100644 --- a/jjb/mso/mso.yaml +++ b/jjb/mso/mso.yaml @@ -1,4 +1,5 @@ --- + - project: name: mso project-name: 'mso' @@ -6,6 +7,16 @@ - '{project-name}-{stream}-verify-java' - '{project-name}-{stream}-merge-java' - '{project-name}-{stream}-release-java-daily' + - '{project-name}-{stream}-docker-java-daily': + extra-project: 'mso/chef-repo' + extra-branch: 'master' + extra-checkout-dir: './packages/docker/src/main/docker/docker-files/chef-config/chef-repos' + extra-project-2: 'mso/mso-config' + extra-branch-2: 'master' + extra-checkout-dir-2: './packages/docker/src/main/docker/docker-files/chef-config/mso-config' + + docker-pom: './packages/docker/src/main/docker/docker-files/chef-repo/pom.xml' + profile-name: 'docker' project: 'mso' stream: diff --git a/jjb/sdc/sdc-sdc_common.yaml b/jjb/sdc/sdc-sdc_common.yaml new file mode 100644 index 000000000..a29eb316e --- /dev/null +++ b/jjb/sdc/sdc-sdc_common.yaml @@ -0,0 +1,16 @@ +--- + +- project: + name: sdc-sdc_common + project-name: 'sdc-sdc_common' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'sdc/sdc_common' + stream: + - 'master': + branch: 'master' + mvn-settings: 'sdc-sdc_common-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/sdc/sdc.yaml b/jjb/sdc/sdc.yaml new file mode 100644 index 000000000..ade674a6f --- /dev/null +++ b/jjb/sdc/sdc.yaml @@ -0,0 +1,16 @@ +--- + +- project: + name: sdc + project-name: 'sdc' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'sdc' + stream: + - 'master': + branch: 'master' + mvn-settings: 'sdc-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/sdc/sdc_distribution_client.yaml b/jjb/sdc/sdc_distribution_client.yaml new file mode 100644 index 000000000..3425ddd0c --- /dev/null +++ b/jjb/sdc/sdc_distribution_client.yaml @@ -0,0 +1,16 @@ +--- + +- project: + name: sdc_distribution_client + project-name: 'sdc_distribution_client' + jobs: + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + + project: 'sdc_distribution_client' + stream: + - 'master': + branch: 'master' + mvn-settings: 'sdc_distribution_client-settings' + files: '**' + archive-artifacts: '' |