adoptium / adoptium/aqa-test-tools

TRS Code Incorrectly Uses Jenkins "Build" instead of "Project" At Various Places

Open
#94 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
33
Forks
97
Avg merge
7h 9m
Merged PRs (30d)
5

Description

Test Result Summary is using the Jenkins term "build" incorrectly instead of "project" in some places. So it's easy to get confused when the code might actually be referring to "project" and not the "build" in various places.

Sorry to be pedantic. I know it's not a big deal but it's would be good to update the wrong references so that it's easier to understand and maintain the code.

### Terminology
https://jenkins.io/doc/book/glossary/

**Project**
A user-configured description of work which Jenkins should perform, such as building a piece of software, etc.
Example: PerfNext-Pipeline, Grinder, Daily-ODM

**Build:**
Result of a single execution of a Project
Example: Different Builds: 1, 2, ..., 99, 100...

**Job**
A deprecated term, synonymous with Project.

### Some references that should use "project" instead of "build":

#### TRSS
- BuildMonitor.js (File Name)
- EventHandler.js (Function Name: `monitorBuild()`)
- getTopLevelBuildNames.js (File Name & var: "buildName")
- getBuildHistory.js (File Name)

#### TRSC
- TopLevelBuilds.jsx (`/api/getBuildHistory?buildName=${buildName}&url=${url}` & `builds[url][buildName]` in `updateData()`)

#### MongoDB
- buildList (Collection Name)

Contributor guide

Open the contributing guide

Research direction

Start by locating the listed TRSS files and EventHandler.js, then inspect TopLevelBuilds.jsx and the MongoDB buildList references. Check each named filename, function, variable, API parameter, and collection reference against the Jenkins terminology in the issue. Done means the specified project references consistently use “project” without changing references to individual builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb, react
Domain
databases, full-stack
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.