Skip to content

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

@jenkins-infra-bot

Description

@jenkins-infra-bot

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions