jenkinsci / jenkinsci/parameterized-trigger-plugin
[JENKINS-21829] Console output should print build number when adding a build to the queue
- 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
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)
> 
Contributor guide
Assessment
This issue has not been assessed yet.