aboutsummaryrefslogtreecommitdiff
path: root/qa-check-web-links.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2015-12-07 21:41:04 -0800
committerFathi Boudra <fathi.boudra@linaro.org>2015-12-08 14:54:04 +0200
commitf299149501344f43839d9a4d39ec5081f98ec7a3 (patch)
tree2e2737656c6cba1bb0c6522627bf9091b1e411fd /qa-check-web-links.yaml
parentc608d04faad89952c93d5bfb6ddd29a16e89b059 (diff)
qa-check-web-links: Check Linaro release page by linkchecker weekly.
Change-Id: Ia8921ea95f5cec113fe435880c606b50d8f0c4bf
Diffstat (limited to 'qa-check-web-links.yaml')
-rw-r--r--qa-check-web-links.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/qa-check-web-links.yaml b/qa-check-web-links.yaml
new file mode 100644
index 0000000000..bf92d1ae0c
--- /dev/null
+++ b/qa-check-web-links.yaml
@@ -0,0 +1,50 @@
+- job:
+ name: qa-check-web-links
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 60
+ numToKeep: 60
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ disabled: false
+ node: docker-jessie-amd64
+ display-name: 'QA - Check web links'
+ scm:
+ - git:
+ url: https://git.linaro.org/qa/checklink.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
+ builders:
+ -shell: |
+ #!/bin/sh
+
+ set -e
+
+ sudo apt-get update
+ sudo apt-get install -y --no-install-recommends linkchecker
+
+ URLs=$(cat page_checklist.txt | tr '\n' ' ')
+ echo "Checking ${URLs}"
+ python check-link.py -f linaro-release-page.cfg ${URLs}
+ publishers:
+ - archive:
+ artifacts: '*.txt'
+ - email-ext:
+ recipients: 'qa-team@linaro.org'
+ attachments: 'link_check_result.txt'