X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fcicn%2Fcicn.yaml;h=a98d18aacf766801ec06544366a6401d56884d98;hb=f75c8faf7b760884d0de67b4e6c1b53986e0c039;hp=ecffdfb3785862af0e02d0972fc5b48d913e2821;hpb=9daa8f3a34b87687e6a407df850efe3bef5b8228;p=ci-management.git diff --git a/jjb/cicn/cicn.yaml b/jjb/cicn/cicn.yaml index ecffdfb37..a98d18aac 100644 --- a/jjb/cicn/cicn.yaml +++ b/jjb/cicn/cicn.yaml @@ -51,6 +51,25 @@ - short - long +- project: + name: cicn-libparc-arm64 + jobs: + - 'cicn-arm64-libparc-verify-{stream}-{os}' + - 'cicn-arm64-libparc-merge-{stream}-{os}' + + project: 'cicn' + stream: + - master: + branch: 'cframework/master' + repo-stream-part: 'master' + os: + - ubuntu1804: + repo-os-part: 'ubuntu-arm.bionic.main' + + type: + - short + - long + - project: name: cicn-libccnx-common jobs: @@ -227,6 +246,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' @@ -299,11 +320,24 @@ - short - long +- project: + name: cicn-view + views: + - project-view + project-name: cicn + - job-template: name: 'cicn-longbow-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/longbow/build/*.rpm + **/longbow/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -324,6 +358,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'release' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -371,14 +411,6 @@ - ../scripts/packagecloud_push.sh publishers: - - archive: - artifacts: > - **/longbow/build/*.rpm, - **/longbow/build/*.deb - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -386,8 +418,15 @@ name: 'cicn-longbow-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/longbow/build/*.rpm + **/longbow/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -402,6 +441,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -424,14 +467,6 @@ - include-raw-cicn-longbow-build.sh publishers: - - archive: - artifacts: > - **/longbow/build/*.rpm, - **/longbow/build/*.deb - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -439,8 +474,13 @@ name: 'cicn-longbow-docs-merge-{stream}' project-type: freestyle - node: ubuntu1604-basebuild-8c-32g + node: 'ubuntu1604-builder-8c-32g' concurrent: true + archive-artifacts: 'longbow/build/documentation/*.tar' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -453,10 +493,12 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' - - os-parameter: - os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -505,12 +547,6 @@ - include-raw-cicn-longbow-docs.sh publishers: - - archive: - artifacts: 'longbow/build/documentation/*.tar' - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -518,8 +554,13 @@ name: 'cicn-longbow-docs-verify-{stream}' project-type: freestyle - node: ubuntu1604-basebuild-8c-32g + node: 'ubuntu1604-builder-8c-32g' concurrent: true + archive-artifacts: 'longbow/build/documentation/*.tar' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -532,10 +573,12 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' - - os-parameter: - os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -568,12 +611,6 @@ - include-raw-cicn-longbow-docs.sh publishers: - - archive: - artifacts: 'longbow/build/documentation/*.tar' - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -581,7 +618,14 @@ name: 'cicn-libparc-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/libparc/build/*.rpm + **/libparc/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -602,6 +646,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'release' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -625,6 +675,14 @@ result: 'failure' 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' @@ -642,16 +700,11 @@ !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: > - **/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' @@ -659,8 +712,15 @@ name: 'cicn-libparc-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/libparc/build/*.rpm + **/libparc/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -675,6 +735,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -697,14 +761,6 @@ - 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' @@ -712,8 +768,13 @@ name: 'cicn-libparc-docs-merge-{stream}' project-type: freestyle - node: ubuntu1604-basebuild-8c-32g + node: 'ubuntu1604-builder-8c-32g' concurrent: true + archive-artifacts: 'libparc/build/documentation/*.tar' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -726,10 +787,12 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' - - os-parameter: - os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -778,12 +841,6 @@ - include-raw-cicn-libparc-docs.sh publishers: - - archive: - artifacts: 'libparc/build/documentation/*.tar' - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -791,8 +848,13 @@ name: 'cicn-libparc-docs-verify-{stream}' project-type: freestyle - node: ubuntu1604-basebuild-8c-32g + node: 'ubuntu1604-builder-8c-32g' concurrent: true + archive-artifacts: 'libparc/build/documentation/*.tar' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -805,10 +867,12 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' - - os-parameter: - os: 'ubuntu1604' - maven-exec: maven-version: 'mvn33-new' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -841,21 +905,165 @@ - include-raw-cicn-libparc-docs.sh publishers: - - archive: - artifacts: 'libparc/build/documentation/*.tar' - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' +- job-template: + name: 'cicn-arm64-libparc-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}arm-us' + archive-artifacts: > + **/libparc/build/*.rpm + **/libparc/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + + 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}' + - stream-parameter: + stream: 'release' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. + + 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}' + + 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' + settings: 'cicn-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: + - include-raw-cicn-libparc-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 + - shell: + !include-raw-escape: + - ../scripts/packagecloud_push.sh + + publishers: + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + +- job-template: + name: 'cicn-arm64-libparc-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}arm-us' + concurrent: true + archive-artifacts: > + **/libparc/build/*.rpm + **/libparc/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + + 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}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. + + 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: + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' - job-template: name: 'cicn-libccnx-common-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/libccnx-common/build/*.rpm + **/libccnx-common/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -876,6 +1084,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -896,6 +1110,14 @@ result: 'failure' 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' @@ -913,16 +1135,11 @@ !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: > - **/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' @@ -930,8 +1147,15 @@ name: 'cicn-libccnx-common-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/libccnx-common/build/*.rpm + **/libccnx-common/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -946,6 +1170,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -968,14 +1196,6 @@ - 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' @@ -983,7 +1203,14 @@ name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/libccnx-transport-rta/build/*.rpm + **/libccnx-transport-rta/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1004,6 +1231,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1024,6 +1257,14 @@ result: 'failure' 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' @@ -1041,16 +1282,11 @@ !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: > - **/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' @@ -1058,8 +1294,15 @@ name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/libccnx-transport-rta/build/*.rpm + **/libccnx-transport-rta/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1074,6 +1317,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1096,15 +1343,6 @@ - include-raw-cicn-libccnx-transport-rta-build.sh publishers: - - archive: - # yamllint disable-line rule:line-length - 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' @@ -1112,7 +1350,14 @@ name: 'cicn-libccnx-portal-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/libccnx-portal/build/*.rpm + **/libccnx-portal/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1133,6 +1378,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1153,6 +1404,14 @@ result: 'failure' 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' @@ -1170,16 +1429,11 @@ !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: > - **/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' @@ -1187,8 +1441,15 @@ name: 'cicn-libccnx-portal-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/libccnx-portal/build/*.rpm + **/libccnx-portal/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1203,6 +1464,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1225,14 +1490,6 @@ - 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' @@ -1240,7 +1497,14 @@ name: 'cicn-libicnet-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1261,6 +1525,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1281,6 +1551,14 @@ result: 'failure' 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' @@ -1298,16 +1576,11 @@ !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 - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -1315,8 +1588,15 @@ name: 'cicn-libicnet-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1331,6 +1611,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1353,14 +1637,6 @@ - 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' @@ -1368,7 +1644,14 @@ name: 'cicn-metis-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/metis/build/*.rpm + **/metis/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1389,6 +1672,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1409,6 +1698,14 @@ result: 'failure' 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' @@ -1426,16 +1723,11 @@ !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: > - **/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' @@ -1443,8 +1735,15 @@ name: 'cicn-metis-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/metis/build/*.rpm + **/metis/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1459,6 +1758,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1481,14 +1784,6 @@ - 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' @@ -1496,7 +1791,14 @@ name: 'cicn-http-server-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1517,6 +1819,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1537,6 +1845,14 @@ result: 'failure' 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' @@ -1554,16 +1870,11 @@ !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 - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -1571,8 +1882,15 @@ name: 'cicn-http-server-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1587,6 +1905,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1609,14 +1931,6 @@ - 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' @@ -1624,7 +1938,14 @@ name: 'cicn-vpp-plugin-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/cicn-plugin/build/*.rpm + **/cicn-plugin/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1645,6 +1966,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1662,6 +1989,14 @@ branch: '{branch}' 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' @@ -1679,16 +2014,11 @@ !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: > - **/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' @@ -1696,8 +2026,15 @@ name: 'cicn-vpp-plugin-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/cicn-plugin/build/*.rpm + **/cicn-plugin/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1712,6 +2049,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1734,14 +2075,6 @@ - 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' @@ -1749,7 +2082,16 @@ name: 'cicn-viper-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + **/libdash/build/*.rpm + **/libdash/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1770,6 +2112,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1790,6 +2138,14 @@ result: 'failure' 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' @@ -1807,18 +2163,11 @@ !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, - **/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' @@ -1826,8 +2175,17 @@ name: 'cicn-viper-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + **/libdash/build/*.rpm + **/libdash/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1842,6 +2200,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1864,16 +2226,6 @@ - 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' @@ -1881,7 +2233,16 @@ name: 'cicn-radio-emulators-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + 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 build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1902,6 +2263,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1919,6 +2286,14 @@ branch: '{branch}' 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' @@ -1936,19 +2311,11 @@ !include-raw-escape: - ../scripts/maven_push_functions.sh - include-raw-cicn-maven-push.sh + - shell: + !include-raw-escape: + - ../scripts/packagecloud_push.sh publishers: - - archive: - # yamllint disable-line rule:line-length - 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' @@ -1956,8 +2323,17 @@ name: 'cicn-radio-emulators-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + 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 build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1972,6 +2348,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -1994,18 +2374,6 @@ - include-raw-cicn-radio-emulators-build.sh publishers: - - archive: - # yamllint disable-line rule:line-length - 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' @@ -2013,7 +2381,16 @@ name: 'cicn-android-sdk-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + 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 build-discarder: daysToKeep: '{build-days-to-keep}' @@ -2034,6 +2411,10 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -2056,16 +2437,6 @@ - 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' @@ -2073,8 +2444,16 @@ name: 'cicn-android-sdk-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + 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 build-discarder: daysToKeep: '{build-days-to-keep}' @@ -2089,6 +2468,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -2111,16 +2494,6 @@ - include-raw-cicn-android-sdk-build.sh publishers: - - archive: - # yamllint disable-line rule:line-length - 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' @@ -2128,7 +2501,14 @@ name: 'cicn-vicn-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -2149,6 +2529,12 @@ maven-version: 'mvn33-new' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: 'master' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -2166,6 +2552,14 @@ branch: '{branch}' 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' @@ -2183,16 +2577,11 @@ !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 - allow-empty: 'true' - fingerprint: false - only-if-success: true - default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' @@ -2200,8 +2589,15 @@ name: 'cicn-vicn-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true + archive-artifacts: > + **/build/*.rpm + **/build/*.deb + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false build-discarder: daysToKeep: '{build-days-to-keep}' @@ -2216,6 +2612,10 @@ branch: '{branch}' - os-parameter: os: '{os}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: @@ -2238,13 +2638,14 @@ - 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' + +- project: + name: cicn-info + project-name: cicn + jobs: + - gerrit-info-yaml-verify + build-node: centos7-builder-4c-4g + project: cicn + branch: master