aboutsummaryrefslogtreecommitdiffstats
path: root/jobs
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-03-18 14:45:55 +0100
committerOliver Smith <osmith@sysmocom.de>2019-03-20 11:41:28 +0100
commit60a4fb2062ccf487a123c2a61b9bc955ec34bdfd (patch)
tree4a5a12a88e27245d8935d4b218a9540298e7c470 /jobs
parent391bdf542ff048c0cb97f2f3c3a00f837b017125 (diff)
jobs: add osmocom-list-commits.yml
Diffstat (limited to 'jobs')
-rw-r--r--jobs/osmocom-list-commits.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/jobs/osmocom-list-commits.yml b/jobs/osmocom-list-commits.yml
new file mode 100644
index 0000000..f2651f4
--- /dev/null
+++ b/jobs/osmocom-list-commits.yml
@@ -0,0 +1,44 @@
+---
+- project:
+ name: Osmocom-list-commits
+ jobs:
+ - Osmocom-list-commits
+
+- job-template:
+ name: 'Osmocom-list-commits'
+ project-type: freestyle
+ defaults: global
+ description: |
+ Generate and upload a list of Osmocom git repositories and their latest tag and commits.
+ <b>The latest list is <a href="https://jenkins.osmocom.org/jenkins/job/Osmocom-list-commits/lastSuccessfulBuild/artifact/commits.txt/*view*/">here</a>.</b>
+ node: osmocom-master-debian9
+ parameters:
+ - string:
+ name: BRANCH
+ description: |
+ osmo-ci.git branch where the osmocom-list-commits.sh gets pulled from
+ default: '*/master'
+ builders:
+ - shell: |
+ scripts/osmocom-list-commits.sh > commits.txt
+ cat commits.txt
+ scm:
+ - git:
+ branches:
+ - '$BRANCH'
+ url: git://git.osmocom.org/osmo-ci
+ git-config-name: 'Jenkins Builder'
+ git-config-email: 'jenkins@osmocom.org'
+ triggers:
+ - timed: "@midnight"
+ publishers:
+ - archive:
+ allow-empty: false
+ artifacts: commits.txt
+ case-sensitive: true
+ only-if-success: true
+ - email:
+ notify-every-unstable-build: true
+ recipients: 'jenkins-notifications@lists.osmocom.org'
+
+# vim: expandtab tabstop=2 shiftwidth=2