We use Jenkins for most of our automated tests. Full documentation is available here; below we will only highlight the basic needed to navigate on our Jenkins.

We have Jenkins installed in two places:

The Jenkins Main Page

When you reach this page, you will see something like this:

Main View

On the left side you can see:

On the right side you have a series of tabs (at the top). The first one on the left is always called 'All', and lists all defined Jenkins jobs. We expect this list to get large as we implement more and more tests.

Selecting a tab will show only the jobs that we aggregated for this tab. This is usually where we spend our time... each one of us looking at a specific subset of Jenkins job we are -- at the moment -- interested in.

The column titles in this are are all clickable, and will cycle the sorting into, ah, alphabetic and inverse alphabetic order. The default ordering is ascending on Job name.

They mean:

Looking at a set of builds

So. If you click on a specific tab -- say, the Precise Daily ISOs, you get to see something like this:

High-level View

Looking at one specific job

Warning /!\ the following is valid on any tab; we will keep on with the Precise Daily ISOs just to make (my) life simpler.

Now, if you select one of the jobs shown -- anyone will work --, you will see something like:

Job Summary

On the left we have the Build History, listing all builds of this job still known (i.e., archived) by Jenkins. Each of these builds is a link to a detail page on the build itself. This is where usually you will end up...

Warning /!\ if you are looking for a failure, you really do not want the Last Successful Artifacts link, or any of the bullet links under it Wink ;)

To the right you will see -- what we are really interested on --, under Permalinks, links to the last:

Some of the above links may be identical (for example, when the last build also stable, or successful, etc).

Looking at a Specific Job instance (run)

First of all, it does not really matter if you selected a job instance by clicking in the left box on the above screenshot, or by selecting one of the Permalinks -- both will put you on the same place.It also does not matter if you select a successful, unsuccessful, or failed run: the data shown is similar. You will end up with something like:

Job Instance

What we are usually interested in are the Console Output link, on the left, and the Build Artifacts, on the right.

The console output will show details of this job run -- in fact, all output the main test script for this job prints out. This is usually left, by us, in debug mode, and it is quite verbose.

The test artifacts link will jump to another page, showing all the data collected on this job run. This data will vary per test type. We are usually interested in the test-results link. The amount of resulting links (and data) usually vary with the end state of the job run: a successful run usually has more attachments to be shown.

QATeam/AutomatedTesting/UnderstandingJenkins (last edited 2011-12-14 14:43:50 by 94-192-45-141)