jenkinsci / jenkinsci/parameterized-trigger-plugin

[JENKINS-21829] Console output should print build number when adding a build to the queue

Open
#588 3 comments 0 reactions 0 assignees View on GitHub
component:parameterized-trigger-plugin enhancement imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
77
Forks
174
Avg merge
22h 27m
Merged PRs (30d)
1

Description

I'm using this plugin in two scenarios. In both I would like to get the build number at the time that the job is added to the build queue. The executed jobs are long running and I want to open up the console while they are running.

When the job enters the queue, a build number is created. See screenshot.

The two different running modes:



  • With "Block until the triggered projects finish their builds"

  • Without "Block until the triggered projects finish their builds"

With "Block until the triggered projects finish their builds":

Line 1: Waiting for the completion of Job name - long running tests

Line 2: Job name - long running tests #1040 completed. Result was FAILURE

Line 3: Finished: FAILURE

Line 1 appears when the job enter the queue. Line 2 and 3 appears after the job has finished.

Should be:

Line 1: Waiting for the completion of Job name - long running tests #1040

Line 2: Job name - long running tests #1040 completed. Result was FAILURE

Line 3: Finished: FAILURE

Without "Block until the triggered projects finish their builds"

Line 1: Triggering projects: Job name - long running tests

Line 2: Finished: SUCCESS

Line 1 appears when the job enter the queue. Line 2 appears after the job has finished.

Should be:

Line 1: Triggering projects: Job name - long running tests #1040

Line 2: Finished: SUCCESS

---
Originally reported by hnygard, imported from: Console output should print build number when adding a build to the queue


  • assignee: huybrechts
  • status: Open
  • priority: Major
  • component(s): parameterized-trigger-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 2025-12-07

Raw content of original issue

I'm using this plugin in two scenarios. In both I would like to get the build number at the time that the job is added to the build queue. The executed jobs are long running and I want to open up the console while they are running.

When the job enters the queue, a build number is created. See screenshot.

The two different running modes:



  • With "Block until the triggered projects finish their builds"

  • Without "Block until the triggered projects finish their builds"

With "Block until the triggered projects finish their builds":
Line 1: Waiting for the completion of Job name - long running tests
Line 2: Job name - long running tests #1040 completed. Result was FAILURE
Line 3: Finished: FAILURE

Line 1 appears when the job enter the queue. Line 2 and 3 appears after the job has finished.

Should be:
Line 1: Waiting for the completion of Job name - long running tests #1040
Line 2: Job name - long running tests #1040 completed. Result was FAILURE
Line 3: Finished: FAILURE

Without "Block until the triggered projects finish their builds"
Line 1: Triggering projects: Job name - long running tests
Line 2: Finished: SUCCESS

Line 1 appears when the job enter the queue. Line 2 appears after the job has finished.

Should be:
Line 1: Triggering projects: Job name - long running tests #1040
Line 2: Finished: SUCCESS

1 attachment

- [jenkins-pending.PNG](https://issues.jenkins.io/secure/attachment/25285/jenkins-pending.PNG)
> ![jenkins-pending.PNG](https://issues.jenkins.io/secure/attachment/25285/jenkins-pending.PNG)

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.