Software Testing / Learning brief

Mei publishes test results from Jenkins

What this means in plain language

Mei records test results with the junit step, keeps screenshots as artifacts and reads the trend.

Understand the full idea, step by step

Analogy: a report card file and a filing box. After each exam, a teacher fills in a report card and puts it in a file, so the marks add up over the term. Any marked paper that proves a mark goes into a filing box with the date on it.

The report card is the junit step, the file of cards is the trend and the box is the artifacts.

PLAIN WORDS · 1 in this section
junit
a file format for test results

Evidence & review

REVIEWED 2026-10-31

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Hands-on steps for this tool. The people and the app are invented.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Tools and screens change, and each team sets its own.

Sources for this brief — 3 sources
  1. Market practice

    Recording tests and artifacts (Jenkins documentation) ↗ — Jenkins · Jenkins docs say the junit step records test result files so Jenkins can show trends. It sits in a post always block so it runs when tests fail. The archiveArtifacts step keeps files that match a pattern. A run with failing tests is marked unstable (search excerpt, page not opened)

    The official tour page on publishing test results and saving files from a run. Official project documentation. · Checked 2026-10-31

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Pipeline syntax (Jenkins documentation) ↗ — Jenkins · Jenkins docs on pipeline syntax say the post section supports always, success, failure, unstable and changed. The always condition runs whatever the status of the run (search excerpt, page not opened)

    The official reference for declarative pipeline syntax: stages, steps, post sections and options. Official project documentation. · Checked 2026-10-31

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREJenkins part 6: publish test reports and artifactsMake a pipeline record its test results with the junit step, keep screenshots and logs as artifacts, and read the trend of passes and failures.Opens at L0 Explain simply · about 16 min

Related briefs

Mei plans the load test

She sets the aims, writes the plan and explains it to Nina and Leo in different words. Then she prepares a close copy of production and runs the load.

READ BRIEF