jenkinsci / jenkinsci/workflow-durable-task-step-plugin

[JENKINS-49562] In a sequential pipeline sometimes the job is executed simultaneously in the master and in an agent

Open
#557 1 comment 0 reactions 0 assignees View on GitHub
component:workflow-durable-task-step-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
46
Forks
110
PR merge metrics
No merged PRs in 30d

Description

I have created a test script "JenkinsfileTest" that use "agent none" as global configuration and a specific agent.

The pipeline only has some checkouts, sleep, and a "sh echo 'hello'". No parallel execution or something similar.

When you execute that script sometimes in the Build executor status appears that the job is executed in the master and in the agent at the same time. Unable to render embedded object: File (Screen Shot 2018-02-14 at 19.50.38.png?default=false) not found.

---
Originally reported by jraezrus, imported from: In a sequential pipeline sometimes the job is executed simultaneously in the master and in an agent


  • status: Open
  • priority: Minor
  • component(s): workflow-durable-task-step-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251212-090250

Raw content of original issue

I have created a test script "JenkinsfileTest" that use "agent none" as global configuration and a specific agent.

The pipeline only has some checkouts, sleep, and a "sh echo 'hello'". No parallel execution or something similar.

When you execute that script sometimes in the Build executor status appears that the job is executed in the master and in the agent at the same time. Unable to render embedded object: File (Screen Shot 2018-02-14 at 19.50.38.png?default=false) not found.

environment

```
CloudBees Jenkins Enterprise 2.89.3.4-rolling

workflow-aggregator:2.5 'Pipeline'

workflow-api:2.24 (update available) 'Pipeline: API'

workflow-basic-steps:2.6 'Pipeline: Basic Steps'

workflow-cps:2.41 (update available) 'Pipeline: Groovy'

workflow-cps-checkpoint:2.4 'CloudBees Pipeline: Groovy Checkpoint Plugin'

workflow-cps-global-lib:2.9 'Pipeline: Shared Groovy Libraries'

workflow-durable-task-step:2.17 (update available) 'Pipeline: Nodes and Processes'

workflow-job:2.16 (update available) 'Pipeline: Job'

workflow-multibranch:2.16 (update available) 'Pipeline: Multibranch'

workflow-scm-step:2.6 'Pipeline: SCM Step'

workflow-step-api:2.14 'Pipeline: Step API'

workflow-support:2.16 (update available) 'Pipeline: Supporting APIs'
```

1 attachment

- [JenkinsfileTest](https://issues.jenkins.io/secure/attachment/41472/JenkinsfileTest)

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.