mirror of https://gerrit.osmocom.org/osmo-ci
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
This commit is contained in:
parent
a0d34c1b8d
commit
315944495c
|
@ -3,3 +3,4 @@ source-*
|
|||
install-*
|
||||
tokens.txt
|
||||
.*.sw?
|
||||
jenkins_jobs.ini
|
||||
|
|
|
@ -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
|
|
@ -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@osmocom.org
|
Loading…
Reference in New Issue