- job: name: bridge-nfsroot project-type: freestyle defaults: global description: | * Create a minimal initramfs with bridge-nfsroot functionality properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-read - job-extended-read - job-build - job-cancel - build-discarder: num-to-keep: 30 days-to-keep: 30 parameters: - string: name: DEB_ARCH default: 'armhf arm64 amd64' disabled: false node: docker-jessie-arm64 retry-count: 3 display-name: 'Create a minimal initramfs with bridge-nfsroot functionality' scm: - git: url: https://github.com/suihkulokki/bridge-nfsroot.git refspec: +refs/heads/master:refs/remotes/origin/master name: origin branches: - refs/heads/master skip-tag: true shallow-clone: true wipe-workspace: false wrappers: - timestamps - build-name: name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' builders: - linaro-publish-token - shell: | #!/bin/bash sudo apt-get -q=2 update sudo apt-get install -y python-requests cpio wget rm -rf out && mkdir out set -ex for arch in ${DEB_ARCH}; do ./mkinitrd.sh ${arch} mv initramfs.${arch}.cpio.gz out/ done # Publish to snapshots test -d ${HOME}/bin || mkdir ${HOME}/bin wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py time python ${HOME}/bin/linaro-cp.py \ --api_version 3 \ --link-latest \ out components/bridge-nfsroot/${BUILD_NUMBER} publishers: - email: recipients: 'anders.roxell@linaro.org fathi.boudra@linaro.org'