From the course: Robot Framework Test Automation: Jenkins CI and Git Version Control

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Create, update, and copy a job

Create, update, and copy a job

- [Bryan] So, now we get to the fun part. It's time to create and run a Jenkins job. A pre-condition for this is that you have created a working Robot Framework script and you've persisted in a Git repo. It is possible to use a local Git repo, but I'm not going to cover that in this lecture. Everything I talk about will assume you're using a remote Git repository because that's more typical when multiple team members have to work on scripts. So, at a very high level, our steps are that we're going to click the New Item link on the Jenkins dashboard. Once we've named the job and click OK we're going to configure the Git options, then we will add a build step, which just is an Execute Windows batch command, and we'll supply our robot, or our pybot, command there, then we will add a post-build action that publishes our robot results and stores them in the Jenkins server, and then we'll click on Save, so let's dive in. The first thing I need to do is click on the New Item link on the…

Contents