jenkinsci / jenkinsci/parallel-test-executor-plugin

UI incorrectly displays "By java test cases with parameters" instead of "By java class name" for "Test mode" setting

Open
#365 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
54
Forks
58
PR merge metrics
No merged PRs in 30d

Description

### Jenkins and plugins versions report

Environment


```text
Jenkins: 2.541.3
OS: Linux - 5.15.0-174-generic
Java: 21.0.9 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
Plugin version: parallel-test-executor:611.va_92b_d1852e52
Job type: Freestyle
```

### What Operating System are you using (both controller, and any agents involved in the problem)?

Debian GNU/Linux 13 (trixie)
Ubuntu 22.04.5 LTS

### Reproduction steps

1. Create or edit a freestyle job
2. Add "Parallel Test Executor" build step
3. Change test mode to "By java class name"
4. Click Save
5. Reopen job configuration

### Expected Results

Test mode should display "By java class name"

### Actual Results

Test mode displays "By java test cases with parameters"

### Anything else?

**Important Note:** The `config.xml` file correctly shows:
``

And the job executes correctly using the `JavaClassName` mode. This appears to be a UI-only bug for this specific option. Other test modes display correctly in the UI.

### Are you interested in contributing a fix?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.