X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fcicn%2Fcicn.yaml;h=a98d18aacf766801ec06544366a6401d56884d98;hb=708165dee7a3b8a68fa430263f796abae4c9e4f7;hp=54ab5a7ed2b4171f9a704154d5150aa4444cd5f8;hpb=96a3d38a9a55d871102acafd9ea607d0e81bfa99;p=ci-management.git diff --git a/jjb/cicn/cicn.yaml b/jjb/cicn/cicn.yaml index 54ab5a7ed..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: @@ -889,6 +908,149 @@ - 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}'