aboutsummaryrefslogtreecommitdiff
path: root/bhoj-test.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2019-03-19 18:49:44 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2019-03-19 18:49:44 +0530
commitb72fde4b64d10b60359e62aee05da64cb43f9dfb (patch)
tree0daa06b6dee0691c929e2207f41654fdb98554e8 /bhoj-test.yaml
parent29f2fcd2d1909823ea511b33c0f6bc0346371278 (diff)
bhoj-test: update test job
Change-Id: Id24d3a9325ecf68adcf913ee5526206d58d8c478 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'bhoj-test.yaml')
-rw-r--r--bhoj-test.yaml25
1 files changed, 22 insertions, 3 deletions
diff --git a/bhoj-test.yaml b/bhoj-test.yaml
index a63d68e06c..73d36d74c6 100644
--- a/bhoj-test.yaml
+++ b/bhoj-test.yaml
@@ -49,13 +49,32 @@
- 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
- echo hi
+ 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
- source test-params/test-kernel-ci-project
- . ./generate-jjb-configs.sh
+ ./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