Try to use Jenkins 2.0 CI environments to trigger jobs which running in openQA

Topic 1: Keep learning Jenkins CI jenkinsci

Topic 2: Learn the Oliver's hackweek topic

Topic 3: Monitor a repository once new image was included

Topic 4: Trigger the openQA jobs via Jenkins

Topic 5: ...etc.

Looking for mad skills in:

ci automation

This project is part of:

Hack Week 14

Activity

  • over 2 years ago: pgeorgiadis liked Trigger openQA jobs via Jenkins
  • over 3 years ago: david_chang liked Trigger openQA jobs via Jenkins
  • over 3 years ago: bchou added keyword "automation" to Trigger openQA jobs via Jenkins
  • over 3 years ago: bchou added keyword "ci" to Trigger openQA jobs via Jenkins
  • over 3 years ago: Jeffreycheung liked Trigger openQA jobs via Jenkins
  • Show History

    Comments

    • bchou
      over 3 years ago by bchou | Reply

      Refer to other topic:

      Windows 10 in openQA https://hackweek.suse.com/14/projects/1468

    • bchou
      over 3 years ago by bchou | Reply

      Thanks for helps :) Cowork with XGWang about Jenkins hacks and discuss the openQA questions with okurz and WeiJiang.

      Hackweek Result: (Target is achieved)

      • 1. use [ScriptTrigger] - Poll with a shell or batch script in Jenkins

      Monitor the repository in our office(http://$server-ipaddres/iso/) once a new image was included in the repo. Thanks XGWang to Re-write a buildmonitor.py to do this job.

      $python /home/john/buildmonitor.py -u http://$server-ipaddres/iso/SLE12-SP2/ -p SLE-12-SP2-Server

      • 2. use Build item(Execute shell) in Jenkins

      Run the openQA script here.

      ISO=cat ${WORKSPACE}/SLE-12-SP2-Server

      $/usr/share/openqa/script/client --apikey xxx --apisecret yyy isos post ISO=${ISO} DISTRI=sle VERSION=12-SP2 FLAVOR=Server-DVD ARCH=x8664 HDDSIZEGB=20 QEMUCOMPRESSQCOW2=1 TEST=sles12sp2image_make

    Similar Projects

    obsci - a CI for open build service packages by tbechtold

    Currently it's pretty difficult to create tests...