X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fcicn%2Fcicn.yaml;h=5ae462512f2bc206395fb166ca9f8ea83cd7ef05;hb=refs%2Fchanges%2F83%2F25283%2F1;hp=b5d8312fece793047d4bb440133386dd95756bd5;hpb=a2f28b36930b2103e566692cc8689740fc89a08f;p=ci-management.git diff --git a/jjb/cicn/cicn.yaml b/jjb/cicn/cicn.yaml index b5d8312fe..5ae462512 100644 --- a/jjb/cicn/cicn.yaml +++ b/jjb/cicn/cicn.yaml @@ -9,6 +9,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -33,6 +35,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -47,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: @@ -55,6 +78,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -77,6 +102,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -99,6 +126,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -121,6 +150,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -143,6 +174,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -165,6 +198,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -187,6 +222,8 @@ project: 'cicn' os: + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - centos7: @@ -209,8 +246,8 @@ project: 'cicn' os: - - ubuntu1604: - repo-os-part: 'ubuntu.xenial.main' + - ubuntu1804: + repo-os-part: 'ubuntu.bionic.main' stream: - master: @@ -281,11 +318,17 @@ - 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' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -306,6 +349,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: @@ -321,7 +370,6 @@ - gerrit-trigger-patch-merged: name: '{project}' branch: '{branch}' - - timed: '@daily' builders: - config-file-provider: @@ -354,12 +402,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' @@ -367,7 +409,7 @@ name: 'cicn-longbow-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -383,6 +425,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: @@ -405,12 +451,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' @@ -418,8 +458,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}' @@ -432,10 +477,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: @@ -484,12 +531,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' @@ -497,8 +538,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}' @@ -511,10 +557,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: @@ -547,12 +595,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' @@ -560,7 +602,7 @@ name: 'cicn-libparc-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -581,6 +623,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: @@ -604,6 +652,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' @@ -621,14 +677,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' @@ -636,7 +689,7 @@ name: 'cicn-libparc-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -652,6 +705,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: @@ -674,12 +731,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' @@ -687,8 +738,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}' @@ -701,10 +757,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: @@ -753,12 +811,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' @@ -766,8 +818,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}' @@ -780,10 +837,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: @@ -816,21 +875,144 @@ - 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' + + 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: '/root/.packagecloud' + - config-file-provider: + files: + - file-id: 'packagecloud_api' + target: '/root/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 + + 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' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -851,6 +1033,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: @@ -871,6 +1059,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' @@ -888,14 +1084,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' @@ -903,7 +1096,7 @@ name: 'cicn-libccnx-common-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -919,6 +1112,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: @@ -941,12 +1138,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' @@ -954,7 +1145,7 @@ name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -975,6 +1166,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: @@ -995,6 +1192,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' @@ -1012,15 +1217,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: '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' @@ -1028,7 +1229,7 @@ name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1044,6 +1245,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: @@ -1066,13 +1271,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' @@ -1080,7 +1278,7 @@ name: 'cicn-libccnx-portal-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1101,6 +1299,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: @@ -1121,6 +1325,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' @@ -1138,14 +1350,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' @@ -1153,7 +1362,7 @@ name: 'cicn-libccnx-portal-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1169,6 +1378,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: @@ -1191,12 +1404,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' @@ -1204,7 +1411,7 @@ name: 'cicn-libicnet-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1225,6 +1432,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: @@ -1245,6 +1458,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' @@ -1262,14 +1483,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' @@ -1277,7 +1495,7 @@ name: 'cicn-libicnet-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1293,6 +1511,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: @@ -1315,12 +1537,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' @@ -1328,7 +1544,7 @@ name: 'cicn-metis-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1349,6 +1565,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: @@ -1369,6 +1591,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' @@ -1386,14 +1616,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' @@ -1401,7 +1628,7 @@ name: 'cicn-metis-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1417,6 +1644,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: @@ -1439,12 +1670,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' @@ -1452,7 +1677,7 @@ name: 'cicn-http-server-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1473,6 +1698,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: @@ -1493,6 +1724,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' @@ -1510,14 +1749,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' @@ -1525,7 +1761,7 @@ name: 'cicn-http-server-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1541,6 +1777,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: @@ -1563,12 +1803,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' @@ -1576,7 +1810,7 @@ name: 'cicn-vpp-plugin-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1597,6 +1831,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: @@ -1612,9 +1852,16 @@ - 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' @@ -1632,14 +1879,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' @@ -1647,7 +1891,7 @@ name: 'cicn-vpp-plugin-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1663,6 +1907,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: @@ -1685,12 +1933,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' @@ -1698,7 +1940,7 @@ name: 'cicn-viper-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1719,6 +1961,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: @@ -1739,6 +1987,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' @@ -1756,15 +2012,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: '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' @@ -1772,7 +2024,7 @@ name: 'cicn-viper-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1788,6 +2040,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: @@ -1810,13 +2066,6 @@ - include-raw-cicn-viper-build.sh publishers: - - archive: - # yamllint disable-line rule:line-length - 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' @@ -1824,7 +2073,7 @@ name: 'cicn-radio-emulators-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -1845,6 +2094,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: @@ -1860,9 +2115,16 @@ - 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' @@ -1880,15 +2142,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' @@ -1896,7 +2154,7 @@ name: 'cicn-radio-emulators-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -1912,6 +2170,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: @@ -1934,13 +2196,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' @@ -1948,7 +2203,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}' @@ -1969,6 +2233,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: @@ -1984,7 +2252,6 @@ - gerrit-trigger-patch-merged: name: '{project}' branch: '{branch}' - - timed: '@daily' builders: - shell: @@ -1992,13 +2259,6 @@ - include-raw-cicn-android-sdk-build.sh publishers: - - archive: - # yamllint disable-line rule:line-length - 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' @@ -2006,8 +2266,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}' @@ -2022,6 +2290,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: @@ -2044,13 +2316,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' @@ -2058,7 +2323,7 @@ name: 'cicn-vicn-merge-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' build-discarder: daysToKeep: '{build-days-to-keep}' @@ -2079,6 +2344,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: @@ -2094,9 +2365,16 @@ - 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' @@ -2114,14 +2392,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' @@ -2129,7 +2404,7 @@ name: 'cicn-vicn-verify-{stream}-{os}' project-type: freestyle - node: '{os}-basebuild-4c-4g' + node: '{os}-builder-4c-4g' concurrent: true build-discarder: @@ -2145,6 +2420,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: @@ -2167,11 +2446,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