From e1762acbc6d68657acee42b5d471053db02cf019 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 10 Oct 2018 16:31:23 +0200 Subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs New JJB config, that is able to generate all jobs in the TTCN3 tab at Jenkins: The new *-latest jobs test against the latest stable releases. Existing jobs are not overwritten (this is commented out). ttcn3-bsc-test-sccplite-latest is disabled for now, because it hangs forever. Related: OS#3268 Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251 --- jobs/ttcn3-testsuites.yml | 106 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 jobs/ttcn3-testsuites.yml diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml new file mode 100644 index 0000000..b4c526c --- /dev/null +++ b/jobs/ttcn3-testsuites.yml @@ -0,0 +1,106 @@ +--- +- project: + name: 'ttcn3-testsuites' + concurrent: false + disabled: false + timer: "@midnight" + jobs: + - "{job-name}" + # Folders from docker-playground.git + job-name: + # nightly (overwrites the existing, manually created jobs!) + # - nplab-m3ua-test: + # timer: 00 03 * * * + # - nplab-sua-test: + # timer: 15 03 * * * + # - ttcn3-bsc-test: + # timer: 00 06 * * * + # - ttcn3-bsc-test-sccplite: + # timer: 30 08 * * * + # - ttcn3-bts-test: + # timer: 00 07 * * * + # - ttcn3-ggsn-test: + # timer: 00 04 * * * + # - ttcn3-hlr-test: + # timer: 45 06 * * * + # - ttcn3-mgw-test: + # timer: 30 06 * * * + # - ttcn3-msc-test: + # timer: 30 04 * * * + # - ttcn3-sgsn-test: + # timer: 30 05 * * * + # - ttcn3-sip-test: + # timer: 00 07 * * * + + # latest stable + - nplab-m3ua-test-latest + - nplab-sua-test-latest + - ttcn3-bsc-test-latest + - ttcn3-bsc-test-sccplite-latest: + disabled: true + - ttcn3-bts-test-latest + - ttcn3-ggsn-test-latest + - ttcn3-hlr-test-latest + - ttcn3-mgw-test-latest + - ttcn3-msc-test-latest + - ttcn3-sgsn-test-latest + - ttcn3-sip-test-latest +- job-template: + name: '{job-name}' + project-type: freestyle + disabled: '{obj:disabled}' + defaults: global + description: | + Run the {job-name} testsuite from + docker-playground.git.
+ If this job ends in -latest, the job runs the latest stable versions of the Osmocom stack. + Otherwise the nightly builds.
+ Generated with the jenkins-job-builder config introduced in + OS#3268.
+ See + TTCN3 Testsuite for more information. + node: ttcn3 + parameters: + - string: + name: BRANCH + description: | + Branch of docker-playground.git. + Only modify if you are hacking on the docker-playground scripts. + default: '*/master' + + builders: + - shell: |- + case "{job-name}" in + *-latest) + cd "$(echo "{job-name}" | sed s/\-latest$//)" + IMAGE_SUFFIX="latest" ./jenkins.sh + ;; + *) + cd "{job-name}" + IMAGE_SUFFIX="master" ./jenkins.sh + ;; + esac + scm: + - git: + branches: + - '$BRANCH' + url: git://git.osmocom.org/docker-playground + git-config-name: 'Jenkins Builder' + git-config-email: 'jenkins@osmocom.org' + triggers: + - timed: "{obj:timer}" + publishers: + - junit: + results: '**/junit-xml-*.log' + allow-empty-results: false + - email: + notify-every-unstable-build: true + recipients: laforge@gnumonks.org + send-to-individuals: false + properties: + - build-blocker: + use-build-blocker: true + blocking-jobs: + - "^{job-name}.*" + +# vim: expandtab tabstop=2 shiftwidth=2 -- cgit v1.2.3