Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

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/.

osmith gerrit-no-reply at lists.osmocom.org
Mon Nov 5 09:28:28 UTC 2018


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/11370 )

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
......................................................................

jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

New JJB config, that is able to generate all jobs in the TTCN3 tab at
Jenkins: <https://jenkins.osmocom.org/jenkins/view/TTCN3/>

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
---
A jobs/ttcn3-testsuites.yml
1 file changed, 106 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Max: Looks good to me, but someone else must approve
  osmith: Verified



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 <code>{job-name}</code> testsuite from
+        <a href="https://git.osmocom.org/docker-playground/">docker-playground.git</a>.<br>
+        If this job ends in <code>-latest</code>, the job runs the latest stable versions of the Osmocom stack.
+        Otherwise the nightly builds.<br>
+        Generated with the jenkins-job-builder config introduced in
+        <a href="https://osmocom.org/issues/3268">OS#3268</a>.<br>
+        See <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites">
+            TTCN3 Testsuite</a> for more information.
+    node: ttcn3
+    parameters:
+      - string:
+          name: BRANCH
+          description: |
+                Branch of <code>docker-playground.git</code>.
+                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 at osmocom.org'
+    triggers:
+      - timed: "{obj:timer}"
+    publishers:
+      - junit:
+          results: '**/junit-xml-*.log'
+          allow-empty-results: false
+      - email:
+          notify-every-unstable-build: true
+          recipients: laforge at gnumonks.org
+          send-to-individuals: false
+    properties:
+    - build-blocker:
+        use-build-blocker: true
+        blocking-jobs:
+          - "^{job-name}.*"
+
+# vim: expandtab tabstop=2 shiftwidth=2

-- 
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 5
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181105/bec441ec/attachment.htm>


More information about the gerrit-log mailing list