X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fcicn%2Fcicn.yaml;h=b941791f4f4c488523752a4b7c515718e4834221;hb=29be786d3165364f61fadadf0fba430c2f377018;hp=99b5f4371723f36b201cfaca42ba9c0deea861de;hpb=5fcc6bcf6118449da78c91d3f677214ed507dc9b;p=ci-management.git diff --git a/jjb/cicn/cicn.yaml b/jjb/cicn/cicn.yaml index 99b5f4371..b941791f4 100644 --- a/jjb/cicn/cicn.yaml +++ b/jjb/cicn/cicn.yaml @@ -1,11 +1,12 @@ - project: name: cicn-longbow jobs: + - 'cicn-longbow-verify-{stream}-{os}' - 'cicn-longbow-merge-{stream}-{os}' + - 'cicn-longbow-docs-verify-{stream}' + - 'cicn-longbow-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -13,7 +14,7 @@ stream: - master: branch: 'cframework/master' - repo-stream-part: 'cicn.master' + repo-stream-part: 'master' type: - short - long @@ -21,19 +22,20 @@ - project: name: cicn-libparc jobs: + - 'cicn-libparc-verify-{stream}-{os}' - 'cicn-libparc-merge-{stream}-{os}' + - 'cicn-libparc-docs-verify-{stream}' + - 'cicn-libparc-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: repo-os-part: 'centos7' stream: - master: - branch: 'cframework/libparc' - repo-stream-part: 'cicn.master' + branch: 'cframework/master' + repo-stream-part: 'master' type: - short - long @@ -41,11 +43,12 @@ - project: name: cicn-libccnx-common jobs: + - 'cicn-libccnx-common-verify-{stream}-{os}' - 'cicn-libccnx-common-merge-{stream}-{os}' + # - 'cicn-libccnx-common-docs-verify-{stream}' + # - 'cicn-libccnx-common-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -53,7 +56,7 @@ stream: - master: branch: 'ccnxlibs/master' - repo-stream-part: 'cicn.master' + repo-stream-part: 'master' type: - short - long @@ -61,11 +64,12 @@ - project: name: cicn-libccnx-transport-rta jobs: + - 'cicn-libccnx-transport-rta-verify-{stream}-{os}' - 'cicn-libccnx-transport-rta-merge-{stream}-{os}' + # - 'cicn-libccnx-transport-rta-docs-verify-{stream}' + # - 'cicn-libccnx-transport-rta-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -73,7 +77,7 @@ stream: - master: branch: 'ccnxlibs/master' - repo-stream-part: 'cicn.master' + repo-stream-part: 'master' type: - short - long @@ -81,11 +85,12 @@ - project: name: cicn-libccnx-portal jobs: + - 'cicn-libccnx-portal-verify-{stream}-{os}' - 'cicn-libccnx-portal-merge-{stream}-{os}' + # - 'cicn-libccnx-portal-docs-verify-{stream}' + # - 'cicn-libccnx-portal-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -93,7 +98,7 @@ stream: - master: branch: 'ccnxlibs/master' - repo-stream-part: 'cicn.master' + repo-stream-part: 'master' type: - short - long @@ -101,11 +106,12 @@ - project: name: cicn-libicnet jobs: + - 'cicn-libicnet-verify-{stream}-{os}' - 'cicn-libicnet-merge-{stream}-{os}' +# - 'cicn-libicnet-docs-verify-{stream}' +# - 'cicn-libicnet-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -113,7 +119,7 @@ stream: - master: branch: 'libicnet/master' - repo-stream-part: 'cicn.master' + repo-stream-part: 'master' type: - short - long @@ -121,11 +127,12 @@ - project: name: cicn-metis jobs: + - 'cicn-metis-verify-{stream}-{os}' - 'cicn-metis-merge-{stream}-{os}' + # - 'cicn-metis-docs-verify-{stream}' + # - 'cicn-metis-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -133,7 +140,7 @@ stream: - master: branch: 'sb-forwarder/master' - repo-stream-part: 'cicn.master' + repo-stream-part: 'master' type: - short - long @@ -141,11 +148,12 @@ - project: name: cicn-http-server jobs: + - 'cicn-http-server-verify-{stream}-{os}' - 'cicn-http-server-merge-{stream}-{os}' +# - 'cicn-http-server-docs-verify-{stream}' +# - 'cicn-http-server-docs-merge-{stream}' project: 'cicn' os: - - ubuntu1404: - repo-os-part: 'ubuntu.trusty.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -153,7 +161,104 @@ stream: - master: branch: 'http-server/master' - repo-stream-part: 'cicn.master' + repo-stream-part: 'master' + type: + - short + - long + +- project: + name: cicn-vpp-plugin + jobs: + - 'cicn-vpp-plugin-verify-{stream}-{os}' + - 'cicn-vpp-plugin-merge-{stream}-{os}' +# - 'cicn-vpp-plugin-docs-verify-{stream}' +# - 'cicn-vpp-plugin-docs-merge-{stream}' + project: 'cicn' + os: + - ubuntu1604: + repo-os-part: 'ubuntu.xenial.main' + - centos7: + repo-os-part: 'centos7' + stream: + - master: + branch: 'cicn-plugin/master' + repo-stream-part: 'master' + type: + - short + - long + +- project: + name: cicn-viper + jobs: + - 'cicn-viper-verify-{stream}-{os}' + - 'cicn-viper-merge-{stream}-{os}' +# - 'cicn-viper-docs-verify-{stream}' +# - 'cicn-viper-docs-merge-{stream}' + project: 'cicn' + os: + - ubuntu1604: + repo-os-part: 'ubuntu.xenial.main' + stream: + - master: + branch: 'viper/master' + repo-stream-part: 'master' + type: + - short + - long + +- project: + name: cicn-radio-emulators + jobs: + - 'cicn-radio-emulators-verify-{stream}-{os}' + - 'cicn-radio-emulators-merge-{stream}-{os}' +# - 'cicn-radio-emulators-docs-verify-{stream}' +# - 'cicn-radio-emulators-docs-merge-{stream}' + project: 'cicn' + os: + - ubuntu1604: + repo-os-part: 'ubuntu.xenial.main' + stream: + - master: + branch: 'vicn/master' + repo-stream-part: 'master' + type: + - short + - long + +- project: + name: cicn-android-sdk + jobs: + - 'cicn-android-sdk-verify-{stream}-{os}' + - 'cicn-android-sdk-merge-{stream}-{os}' +# - 'cicn-android-sdk-docs-verify-{stream}' +# - 'cicn-android-sdk-docs-merge-{stream}' + project: 'cicn' + os: + - ubuntu1604: + repo-os-part: 'ubuntu.xenial.main' + stream: + - master: + branch: 'android-sdk/master' + repo-stream-part: 'master' + type: + - short + - long + +- project: + name: cicn-vicn + jobs: + - 'cicn-vicn-verify-{stream}-{os}' + - 'cicn-vicn-merge-{stream}-{os}' +# - 'cicn-vicn-docs-verify-{stream}' +# - 'cicn-vicn-docs-merge-{stream}' + project: 'cicn' + os: + - ubuntu1604: + repo-os-part: 'ubuntu.xenial.main' + stream: + - master: + branch: 'vicn/master' + repo-stream-part: 'master' type: - short - long @@ -164,7 +269,7 @@ project-type: freestyle node: '{os}-basebuild-4c-4g' - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -198,8 +303,17 @@ - gerrit-trigger-patch-merged: name: '{project}' branch: '{branch}' + - timed: '@daily' builders: + - config-file-provider: + files: + - file-id: '.packagecloud' + target: '/home/jenkins/.packagecloud' + - config-file-provider: + files: + - file-id: 'packagecloud_api' + target: '/home/jenkins/packagecloud_api' - maven-target: maven-version: 'mvn33-new' goals: '--version' @@ -209,18 +323,21 @@ global-settings-type: cfp - shell: !include-raw-escape: - - build-package.sh - include-raw-cicn-longbow-build.sh - provide-maven-settings: - settings-file: 'cicn-longbow-settings' + settings-file: 'cicn-settings' global-settings-file: 'global-settings' - shell: !include-raw-escape: - ../scripts/maven_push_functions.sh - include-raw-cicn-maven-push.sh + - shell: + !include-raw-escape: + - ../scripts/packagecloud_push.sh + publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'longbow/build/*.rpm,longbow/build/*.deb' allow-empty: 'true' fingerprint: false only-if-success: true @@ -229,12 +346,13 @@ maven-version: 'mvn33-new' - job-template: - name: 'cicn-libparc-merge-{stream}-{os}' + name: 'cicn-longbow-verify-{stream}-{os}' project-type: freestyle node: '{os}-basebuild-4c-4g' + concurrent: true - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -247,53 +365,30 @@ branch: '{branch}' - os-parameter: os: '{os}' - - maven-project-parameter: - maven: 'mvn33-new' - - maven-exec: - maven-version: 'mvn33-new' - - repo-name-parameter: - repo-name: '{repo-stream-part}.{repo-os-part}' scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' - refspec: '' - choosing-strategy: 'default' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-merged: + - gerrit-trigger-patch-submitted: name: '{project}' branch: '{branch}' - - reverse: - jobs: 'cicn-longbow-merge-{stream}-{os}' - result: 'failure' builders: - - maven-target: - maven-version: 'mvn33-new' - goals: '--version' - settings: 'cicn-settings' - settings-type: cfp - global-settings: 'global-settings' - global-settings-type: cfp - - shell: - !include-raw-escape: - - build-package.sh - - include-raw-cicn-libparc-build.sh - - provide-maven-settings: - settings-file: 'cicn-libparc-settings' - global-settings-file: 'global-settings' - shell: !include-raw-escape: - - ../scripts/maven_push_functions.sh - - include-raw-cicn-maven-push.sh + - include-raw-cicn-longbow-build.sh + publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'longbow/build/*.rpm,longbow/build/*.deb' allow-empty: 'true' fingerprint: false only-if-success: true @@ -302,12 +397,13 @@ maven-version: 'mvn33-new' - job-template: - name: 'cicn-libccnx-common-merge-{stream}-{os}' + name: 'cicn-longbow-docs-merge-{stream}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: ubuntu1604-basebuild-8c-32g + concurrent: true - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -319,13 +415,9 @@ - gerrit-parameter: branch: '{branch}' - os-parameter: - os: '{os}' - - maven-project-parameter: - maven: 'mvn33-new' + os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' - - repo-name-parameter: - repo-name: '{repo-stream-part}.{repo-os-part}' scm: - gerrit-trigger-scm: @@ -338,35 +430,43 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-merged: - name: '{project}' - branch: '{branch}' - reverse: - jobs: 'cicn-longbow-merge-{stream}-{os}, cicn-libparc-merge-{stream}-{os}' - result: 'failure' + jobs: 'cicn-longbow-merge-{stream}-ubuntu1604' + result: 'success' + - gerrit: + server-name: 'Primary' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'run-docs' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true builders: - maven-target: maven-version: 'mvn33-new' goals: '--version' - settings: 'cicn-settings' + settings: 'vpp-settings' settings-type: cfp global-settings: 'global-settings' global-settings-type: cfp - - shell: - !include-raw-escape: - - build-package.sh - - include-raw-cicn-libccnx-common-build.sh - provide-maven-settings: - settings-file: 'cicn-libccnx-common-settings' + settings-file: 'cicn-settings' global-settings-file: 'global-settings' - shell: !include-raw-escape: - - ../scripts/maven_push_functions.sh - - include-raw-cicn-maven-push.sh + - include-raw-cicn-longbow-docs.sh publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'longbow/build/documentation/*.tar' allow-empty: 'true' fingerprint: false only-if-success: true @@ -375,12 +475,13 @@ maven-version: 'mvn33-new' - job-template: - name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}' + name: 'cicn-longbow-docs-verify-{stream}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: ubuntu1604-basebuild-8c-32g + concurrent: true - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -392,13 +493,9 @@ - gerrit-parameter: branch: '{branch}' - os-parameter: - os: '{os}' - - maven-project-parameter: - maven: 'mvn33-new' + os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' - - repo-name-parameter: - repo-name: '{repo-stream-part}.{repo-os-part}' scm: - gerrit-trigger-scm: @@ -411,35 +508,27 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-merged: + - gerrit-trigger-patch-submitted: name: '{project}' branch: '{branch}' - - reverse: - jobs: 'cicn-longbow-merge-{stream}-{os}, cicn-libparc-merge-{stream}-{os}, cicn-libccnx-common-merge-{stream}-{os}' - result: 'failure' builders: - maven-target: maven-version: 'mvn33-new' goals: '--version' - settings: 'cicn-settings' + settings: 'vpp-settings' settings-type: cfp global-settings: 'global-settings' global-settings-type: cfp - - shell: - !include-raw-escape: - - build-package.sh - - include-raw-cicn-libccnx-transport-rta-build.sh - provide-maven-settings: - settings-file: 'cicn-libccnx-transport-rta-settings' + settings-file: 'cicn-settings' global-settings-file: 'global-settings' - shell: !include-raw-escape: - - ../scripts/maven_push_functions.sh - - include-raw-cicn-maven-push.sh + - include-raw-cicn-longbow-docs.sh publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'longbow/build/documentation/*.tar' allow-empty: 'true' fingerprint: false only-if-success: true @@ -448,12 +537,12 @@ maven-version: 'mvn33-new' - job-template: - name: 'cicn-libccnx-portal-merge-{stream}-{os}' + name: 'cicn-libparc-merge-{stream}-{os}' project-type: freestyle node: '{os}-basebuild-4c-4g' - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -484,11 +573,14 @@ build-timeout: '{build-timeout}' triggers: + - reverse: + jobs: 'cicn-longbow-merge-{stream}-ubuntu1604' + result: 'success' - gerrit-trigger-patch-merged: name: '{project}' branch: '{branch}' - reverse: - jobs: 'cicn-longbow-merge-{stream}-{os}, cicn-libparc-merge-{stream}-{os}, cicn-libccnx-common-merge-{stream}-{os}, cicn-libccnx-transport-rta-merge-{stream}-{os}' + jobs: 'cicn-longbow-merge-{stream}-{os}' result: 'failure' builders: @@ -501,10 +593,9 @@ global-settings-type: cfp - shell: !include-raw-escape: - - build-package.sh - - include-raw-cicn-libccnx-portal-build.sh + - include-raw-cicn-libparc-build.sh - provide-maven-settings: - settings-file: 'cicn-libccnx-portal-settings' + settings-file: 'cicn-settings' global-settings-file: 'global-settings' - shell: !include-raw-escape: @@ -512,7 +603,7 @@ - include-raw-cicn-maven-push.sh publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'libparc/build/*.rpm,libparc/build/*.deb' allow-empty: 'true' fingerprint: false only-if-success: true @@ -521,12 +612,13 @@ maven-version: 'mvn33-new' - job-template: - name: 'cicn-libicnet-merge-{stream}-{os}' + name: 'cicn-libparc-verify-{stream}-{os}' project-type: freestyle node: '{os}-basebuild-4c-4g' + concurrent: true - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -539,12 +631,59 @@ branch: '{branch}' - os-parameter: os: '{os}' - - maven-project-parameter: - maven: 'mvn33-new' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-libparc-build.sh + + publishers: + - archive: + artifacts: 'libparc/build/*.rpm,libparc/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libparc-docs-merge-{stream}' + + project-type: freestyle + node: ubuntu1604-basebuild-8c-32g + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' - - repo-name-parameter: - repo-name: '{repo-stream-part}.{repo-os-part}' scm: - gerrit-trigger-scm: @@ -557,35 +696,43 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-merged: - name: '{project}' - branch: '{branch}' - reverse: - jobs: 'cicn-longbow-merge-{stream}-{os}, cicn-libparc-merge-{stream}-{os}, cicn-libccnx-common-merge-{stream}-{os}, cicn-libccnx-transport-rta-merge-{stream}-{os}, cicn-libccnx-portal-merge-{stream}-{os}' - result: 'failure' + jobs: 'cicn-libparc-merge-{stream}-ubuntu1604' + result: 'success' + - gerrit: + server-name: 'Primary' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'run-docs' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true builders: - maven-target: maven-version: 'mvn33-new' goals: '--version' - settings: 'cicn-settings' + settings: 'vpp-settings' settings-type: cfp global-settings: 'global-settings' global-settings-type: cfp - - shell: - !include-raw-escape: - - build-package.sh - - include-raw-cicn-libicnet-build.sh - provide-maven-settings: - settings-file: 'cicn-libicnet-settings' + settings-file: 'cicn-settings' global-settings-file: 'global-settings' - shell: !include-raw-escape: - - ../scripts/maven_push_functions.sh - - include-raw-cicn-maven-push.sh + - include-raw-cicn-libparc-docs.sh publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'libparc/build/documentation/*.tar' allow-empty: 'true' fingerprint: false only-if-success: true @@ -594,12 +741,13 @@ maven-version: 'mvn33-new' - job-template: - name: 'cicn-metis-merge-{stream}-{os}' + name: 'cicn-libparc-docs-verify-{stream}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: ubuntu1604-basebuild-8c-32g + concurrent: true - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -611,13 +759,9 @@ - gerrit-parameter: branch: '{branch}' - os-parameter: - os: '{os}' - - maven-project-parameter: - maven: 'mvn33-new' + os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' - - repo-name-parameter: - repo-name: '{repo-stream-part}.{repo-os-part}' scm: - gerrit-trigger-scm: @@ -630,35 +774,27 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-patch-merged: + - gerrit-trigger-patch-submitted: name: '{project}' branch: '{branch}' - - reverse: - jobs: 'cicn-longbow-merge-{stream}-{os}, cicn-libparc-merge-{stream}-{os}, cicn-libccnx-common-merge-{stream}-{os}, cicn-libccnx-transport-rta-merge-{stream}-{os}, cicn-libccnx-portal-merge-{stream}-{os}' - result: 'failure' builders: - maven-target: maven-version: 'mvn33-new' goals: '--version' - settings: 'cicn-settings' + settings: 'vpp-settings' settings-type: cfp global-settings: 'global-settings' global-settings-type: cfp - - shell: - !include-raw-escape: - - build-package.sh - - include-raw-cicn-metis-build.sh - provide-maven-settings: - settings-file: 'cicn-metis-settings' + settings-file: 'cicn-settings' global-settings-file: 'global-settings' - shell: !include-raw-escape: - - ../scripts/maven_push_functions.sh - - include-raw-cicn-maven-push.sh + - include-raw-cicn-libparc-docs.sh publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'libparc/build/documentation/*.tar' allow-empty: 'true' fingerprint: false only-if-success: true @@ -666,13 +802,14 @@ - fdio-infra-shiplogs: maven-version: 'mvn33-new' + - job-template: - name: 'cicn-http-server-merge-{stream}-{os}' + name: 'cicn-libccnx-common-merge-{stream}-{os}' project-type: freestyle node: '{os}-basebuild-4c-4g' - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -707,7 +844,7 @@ name: '{project}' branch: '{branch}' - reverse: - jobs: 'cicn-libicnet-merge-{stream}-{os}' + jobs: 'cicn-libparc-merge-{stream}-{os}' result: 'failure' builders: @@ -720,10 +857,9 @@ global-settings-type: cfp - shell: !include-raw-escape: - - build-package.sh - - include-raw-cicn-http-server-build.sh + - include-raw-cicn-libccnx-common-build.sh - provide-maven-settings: - settings-file: 'cicn-http-server-settings' + settings-file: 'cicn-settings' global-settings-file: 'global-settings' - shell: !include-raw-escape: @@ -731,10 +867,1269 @@ - include-raw-cicn-maven-push.sh publishers: - archive: - artifacts: 'build/*.rpm,build/*.deb' + artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb' allow-empty: 'true' fingerprint: false only-if-success: true default-excludes: false - fdio-infra-shiplogs: - maven-version: 'mvn33-new' \ No newline at end of file + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libccnx-common-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-libccnx-common-build.sh + + publishers: + - archive: + artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - reverse: + jobs: 'cicn-libccnx-common-merge-{stream}-{os}' + result: 'failure' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-libccnx-transport-rta-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-libccnx-transport-rta-build.sh + + publishers: + - archive: + artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libccnx-portal-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - reverse: + jobs: 'cicn-libccnx-transport-rta-merge-{stream}-{os}' + result: 'failure' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-libccnx-portal-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libccnx-portal-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-libccnx-portal-build.sh + + publishers: + - archive: + artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libicnet-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - reverse: + jobs: 'cicn-libccnx-portal-merge-{stream}-{os}' + result: 'failure' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-libicnet-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-libicnet-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-libicnet-build.sh + + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-metis-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - reverse: + jobs: 'cicn-libccnx-portal-merge-{stream}-{os}' + result: 'failure' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-metis-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'metis/build/*.rpm,metis/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-metis-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-metis-build.sh + + publishers: + - archive: + artifacts: 'metis/build/*.rpm,metis/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-http-server-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - reverse: + jobs: 'cicn-libicnet-merge-{stream}-{os}' + result: 'failure' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-http-server-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-http-server-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-http-server-build.sh + + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-vpp-plugin-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - timed: '@daily' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-vpp-plugin-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-vpp-plugin-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-vpp-plugin-build.sh + + publishers: + - archive: + artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-viper-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - reverse: + jobs: 'cicn-libicnet-merge-{stream}-{os}' + result: 'failure' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-viper-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-viper-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-viper-build.sh + + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-radio-emulators-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - timed: '@daily' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-radio-emulators-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-radio-emulators-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-radio-emulators-build.sh + + publishers: + - archive: + artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-android-sdk-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - timed: '@daily' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-android-sdk-build.sh + publishers: + - archive: + artifacts: 'IGetAndroid/app/build/outputs/apk/release/*.apk,MetisForwarderAndroid/app/build/outputs/apk/release/*.apk,HttpServer/app/build/outputs/apk/release/*.apk,build_armv7-a/viper/viper-armv7//build/outputs/apk/*.apk' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-android-sdk-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-android-sdk-build.sh + + publishers: + - archive: + artifacts: 'iGetAndroid/app/build/outputs/apk/*.apk,MetisForwarder/app/build/outputs/apk/*.apk,build/viper/viper-armv7//build/outputs/apk/*.apk' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-vicn-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + - timed: '@daily' + + builders: + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-vicn-build.sh + - provide-maven-settings: + settings-file: 'cicn-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-cicn-maven-push.sh + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-vicn-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-basebuild-4c-4g' + concurrent: true + + build-discarder: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + name: '{project}' + branch: '{branch}' + + builders: + - shell: + !include-raw-escape: + - include-raw-cicn-vicn-build.sh + + publishers: + - archive: + artifacts: 'build/*.rpm,build/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new'