jenkinsci / jenkinsci/stashnotifier-plugin
Pre-notify before build starts
- Dominant language
- Java
- Stars
- 167
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to have know if this plugin could send notifications for job runs that are queued, but not yet running.
The problem I'm seeing is that we have a limited number of Jenkins executors. Users create 15 PRs in stash. Each PR triggers a notification to Jenkins. Jenkins queues up all of these jobs. However, it does not trigger the stash rest api that a job has started -- thus the PR at stash looks like no build job has been triggered. The stash side doesn't see the "build in progress" till the job is finally picked up.
Ideally the stash notifier could "ping back" to Stash once the job is queued, not once it's begun.
Is that possible?
Contributor guide
Research direction
Start by tracing how Jenkins queue events reach the Stash notifier and how the Stash REST API represents a build in progress. Confirm whether a queued job can be reported before execution begins, then define the behavior for queued jobs and verify that Stash shows the PR build as started before an executor is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, ci-cd, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100