CI with Jenkins in ZenTao

2020-05-15 21:59:25
John Ten
Original 2749
Summary : Testers can use Jenkins to test and compare the actual outcome with the expected, which can be done by writing test scripts or using an automation testing tool. If you would like to automate repetitive tasks and other testing tasks, you can use ZTF, an automated testing framework from ZenTao team.

 

CI with Jenkins in ZenTao

What is Jenkins?

Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software. 1 It helps automate the parts of software development related to building, testing, and deploying, facilitating continuous integration and continuous delivery. 2


Testers can use Jenkins to test and compare the actual outcome with the expected, which can be done by writing test scripts or using an automation testing tool. If you would like to automate repetitive tasks and other testing tasks, you can use ZTF, an automated testing framework from ZenTao team.

How to use Jenkins to do CI in ZenTao

CI, Continuous Integration, aims to integrate code into a shared repository several times a day so to detect errors quickly and locate them more easily. The CI practices include

  • Maintain a single source repository
  • Automate the build
  • Make your build self-testing
  • Every commit should build on an integration machine
  • Keep the build fast
  • Test in a clone of the production environment
  • Make it easy for anyone to get the latest executable version
  • Everyone can see what’s happening
  • Automate deployment 3


CI practices can be implemented in ZenTao. The CI module in ZenTao. Code include Compile, Jenkins, Repo, and Rule. 

  • Code: Diff and view codes
  • Compile: Manage builds in Jenkins
  • Jenkins: Integrate Jenkins
  • Repo: Integrate GIT/SVN repositories
  • Rule: Set rules to match tasks and to parse comments


ZenTao is an open source project management software, developed by EasyCorp. Its main features are product management, project management, Test management, document management, bug tracking, CI management, etc. It is a professional Application Lifecycle Management(ALM) , covering the core process of software development.


After you start Jenkins, you should create an item and set a build. For more instructions, you can refer to Chapter 8.2.13 Integration Jenkins.


Then go to CI->Jenkins in ZenTao, and integrate your Jenkins in ZenTao.


ZenTao website also released a platform for developers to upload extensions to integrate with ZenTao. If you want to integrate other automation test tools, it is possible to do so. Visit ZenTao official website to know more.


Reference

1. https://www.jenkins.io/doc/

2. https://en.wikipedia.org/wiki/Jenkins_(software)

3. https://www.thoughtworks.com/continuous-integration

Write a Comment
Comment will be posted after it is reviewed.