Skip to content

[JENKINS-59612] Scheduled build is removed if job is run earlier with same parameters #472

@jenkins-infra-bot

Description

@jenkins-infra-bot

We have a deployment job that has a VERSION parameter, which can be a branch name.

 

Example:
Schedule a job for tomorrow with VERSION=develop.

Schedule a job for next week with VERSION=master.

 

Scenario 1)

Directly deploy with VERSION=feature/new-buttons

Outcome: The two scheduled jobs still exist.

 

Scenario 2)

Directly deploy with VERSION=master

Outcome: The scheduled job with VERSION=master doesn't exist anymore.

 

The outcome in scenario 2 may seem logical. But on the other hand, it's not. If I plan a deployment for next week, I should not have impact when I deploy something right now.

 

The use case is:

Schedule a certain branch to deploy next week, while in the mean time patches in that branch can be deployed.


Originally reported by pietervogelaar, imported from: Scheduled build is removed if job is run earlier with same parameters
  • assignee: mawinter69
  • status: In Progress
  • priority: Minor
  • component(s): schedule-build-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 20260512-210953
Raw content of original issue

We have a deployment job that has a VERSION parameter, which can be a branch name.

 

Example: Schedule a job for tomorrow with VERSION=develop.

Schedule a job for next week with VERSION=master.

 

Scenario 1)

Directly deploy with VERSION=feature/new-buttons

Outcome: The two scheduled jobs still exist.

 

Scenario 2)

Directly deploy with VERSION=master

Outcome: The scheduled job with VERSION=master doesn't exist anymore.

 

The outcome in scenario 2 may seem logical. But on the other hand, it's not. If I plan a deployment for next week, I should not have impact when I deploy something right now.

 

The use case is:

Schedule a certain branch to deploy next week, while in the mean time patches in that branch can be deployed.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions