[PATCH] osmo-ci[master]: add jenkins job builder files for osmocom-nightly-nitb-split.sh

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Aug 15 16:11:36 UTC 2017


add jenkins job builder files for osmocom-nightly-nitb-split.sh

jenkins job builder is a python library to write jenkins jobs in .yml or
.json including templating and basic substition operation.

To update the job call:
Create your own jenkins_jobs.ini based on the exmaple and call
jenkins-jobs --conf ./jenkins_jobs.ini update osmocom-nightly-nitb-split.yml

Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c
---
M .gitignore
A scripts/jenkins_jobs.ini.example
A scripts/osmocom-nightly-nitb-split.yml
3 files changed, 27 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/30/3530/3

diff --git a/.gitignore b/.gitignore
index 4e25b2f..4163eb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 install-*
 tokens.txt
 .*.sw?
+jenkins_jobs.ini
diff --git a/scripts/jenkins_jobs.ini.example b/scripts/jenkins_jobs.ini.example
new file mode 100644
index 0000000..639b399
--- /dev/null
+++ b/scripts/jenkins_jobs.ini.example
@@ -0,0 +1,6 @@
+[jenkins]
+user=example
+# To get a token: Go to Jenkins via Web -> Login -> Press up right Corner on your Username -> Configure -> API token in the body
+password=get_a_token
+url=https://jenkins.osmocom.org/jenkins
+query_plugins_info=False
diff --git a/scripts/osmocom-nightly-nitb-split.yml b/scripts/osmocom-nightly-nitb-split.yml
new file mode 100644
index 0000000..6c264fd
--- /dev/null
+++ b/scripts/osmocom-nightly-nitb-split.yml
@@ -0,0 +1,20 @@
+---
+- project:
+    name: Osmocom_nightly_nitb_split
+    jobs:
+      - Osmocom_nightly_nitb_split
+
+- job:
+    name: 'Osmocom_nightly_nitb_split'
+    project-type: freestyle
+    defaults: global
+    description: 'Generated by job-builder'
+    node: linux_amd64_debian8
+    builders:
+      - shell:
+          ./scripts/osmocom-nightly-nitb-split.sh
+    scm:
+      - git:
+          url: git://git.osmocom.org/osmo-ci
+          git-config-name: 'Jenkins Builder'
+          git-config-email: 'jenkins at osmocom.org

-- 
To view, visit https://gerrit.osmocom.org/3530
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c
Gerrit-PatchSet: 3
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>



More information about the gerrit-log mailing list