- job: name: bhoj-test project-type: freestyle defaults: global logrotate: daysToKeep: 30 numToKeep: 30 properties: - authorization: anonymous: - job-read - job-extended-read vishal.bhoj@linaro.org: - job-build - job-read - job-extended-read - job-configure - job-cancel parameters: - string: name: KERNEL_BRANCH default: 'android-hikey-linaro-4.4' disabled: false node: master display-name: 'Trigger for LKFT HiKey builds (4.4 branch)' wrappers: - timestamps - credentials-binding: - text: credential-id: JJB_USER variable: JJB_USER - credentials-binding: - text: credential-id: JJB_PASSWORD variable: JJB_PASSWORD - credentials-binding: - text: credential-id: LAVA_USER variable: LAVA_USER - credentials-binding: - text: credential-id: LAVA_TOKEN variable: LAVA_TOKEN - credentials-binding: - text: credential-id: LT_QCOM_KEY variable: LT_QCOM_KEY - credentials-binding: - text: credential-id: AUTH_TOKEN variable: AUTH_TOKEN - credentials-binding: - text: credential-id: QA_REPORTS_TOKEN variable: QA_REPORTS_TOKEN - build-name: name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' builders: - shell: | #!/bin/bash -e rm -rf kernel-testing-configs git clone https://git.linaro.org/people/vishal.bhoj/kernel-testing-configs.git cat kernel-testing-configs/test-params/test-kernel-ci-project - inject: properties-file: kernel-testing-configs/test-params/test-kernel-ci-project - shell: | #!/bin/bash -e cd kernel-testing-configs ./generate-jjb-config.sh $QA_REPORTS_TOKEN cat *.yaml git add . git commit -m "Added new jobs" wget https://git.linaro.org/ci/job/configs.git/plain/run-jjb.py export GIT_PREVIOUS_COMMIT=$(git rev-parse HEAD~1) export GIT_COMMIT=$(git rev-parse HEAD) jenkins-jobs --version git log git clone https://git.linaro.org/ci/job/configs.git cp -rf configs/* . python run-jjb.py