jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-74780] Image inside does not call jenkins-wrap.bat

Open
#723 1 comment 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

We are conducting some relatively simple tests with the docker pipeline plugin.  In our test script, we are simply pulling our windows image, and then calling "image.inside()" to run a bat script "echo hello".

 

However, this causes our pipeline to hang indefinitely.  After some debugging, the only way to get this pipeline to finish successfully is by manually going into the running docker container with our windows image, and running the jenkins-wrap.bat file manually.  This causes the bat step in Jenkins to resolve.  I think there could be a bug in this plugin when calling this jenkins-wrap.bat file for windows.  Our tests on Linux containers works as expected

---
Originally reported by czap_2024, imported from: Image inside does not call jenkins-wrap.bat


  • status: Open
  • priority: Major
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-07

Raw content of original issue

We are conducting some relatively simple tests with the docker pipeline plugin.  In our test script, we are simply pulling our windows image, and then calling "image.inside()" to run a bat script "echo hello".

 

However, this causes our pipeline to hang indefinitely.  After some debugging, the only way to get this pipeline to finish successfully is by manually going into the running docker container with our windows image, and running the jenkins-wrap.bat file manually.  This causes the bat step in Jenkins to resolve.  I think there could be a bug in this plugin when calling this jenkins-wrap.bat file for windows.  Our tests on Linux containers works as expected

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.