On-Demand Test (k6) Pipeline to Test a Feature Branch

On-Demand Test (k6) Pipeline to Test a Feature Branch

Contributors and maintainers for the CPS project can test their feature branch via On-demand test pipeline.

This can be very handy to identify any functional / performance issues in advance.

How to modify

  1. Log-in Jenkins Server: Nordix Jenkins Server

  2. Access to On-demand test pipeline

  3. Click on ‘Configure’

  4. Click on ‘Build Steps’

  5. Find the comments below in the shell script:

# To checkout a specific commit instead of master, enable the fetch statement below pointing to YOUR commit # git fetch https://gerrit.nordix.org/onap/cps refs/changes/20/23520/5 && git checkout FETCH_HEAD
  1. Replace second line with your patch-set e.g.

# To checkout a specific commit instead of master, enable the fetch statement below pointing to YOUR commit git fetch https://gerrit.nordix.org/onap/cps refs/changes/20/23520/5 && git checkout FETCH_HEAD
  1. Click on ‘Apply’ and then ‘Save’

  2. On-demand pipeline will be running with feature branch on the next build.

  3. Check the result on plots: On-demand Test (k6) Plots

  4. Once your testing activity done, please revert the changes back so that it should run on the master branch. Don’t forget to click on ‘Apply’ and ‘Save’

Notes: Please talk to team prior to your activity so that no-body override your changes!