jenkinsci / jenkinsci/durable-task-plugin

[JENKINS-41130] Pipeline script bat command hanging in windows 7

Open
#372 7 comments 0 reactions 0 assignees View on GitHub
component:durable-task-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
30
Forks
101
PR merge metrics
No merged PRs in 30d

Description

When I run pipeline build process , it hangs for ever .

my pipeline script

node


{
stage 'Build'
bat 'mvn clean'
}

------------------------------Console -output ----

Running on master in %


{JENKINS_HOME}

\workspace\Pipeline My CR

[Pipeline] {

[Pipeline] stage (Clone SVN Source)

Using the ‘stage’ step without a block argument is deprecated

Entering stage Clone SVN Source

Proceeding

[Pipeline] svn

Updating file:///D:/Jenkins_Framework/Project_Repository/trunk/java at revision '2017-01-17T20:13:28.142 +0700'

At revision 24

No changes for file:///D:/Jenkins_Framework/Project_Repository/trunk/java since the previous build

[Pipeline] stage (Build)

Using the ‘stage’ step without a block argument is deprecated

Entering stage Build

Proceeding

[Pipeline] bat

[Pipeline My CR] Running batch script

.........

---
Originally reported by rsahani999, imported from: Pipeline script bat command hanging in windows 7


  • status: Open
  • priority: Major
  • component(s): durable-task-plugin
  • label(s): triaged-2018-11, windows
  • resolution: Unresolved
  • votes: 1
  • watchers: 6
  • imported: 2025-12-09

Raw content of original issue

When I run pipeline build process , it hangs for ever .
my pipeline script
node


{
stage 'Build'
bat 'mvn clean'
}

------------------------------Console -output ----
Running on master in %


{JENKINS_HOME}

\workspace\Pipeline My CR
[Pipeline] {
[Pipeline] stage (Clone SVN Source)
Using the ‘stage’ step without a block argument is deprecated
Entering stage Clone SVN Source
Proceeding
[Pipeline] svn
Updating file:///D:/Jenkins_Framework/Project_Repository/trunk/java at revision '2017-01-17T20:13:28.142 +0700'
At revision 24

No changes for file:///D:/Jenkins_Framework/Project_Repository/trunk/java since the previous build
[Pipeline] stage (Build)
Using the ‘stage’ step without a block argument is deprecated
Entering stage Build
Proceeding
[Pipeline] bat
[Pipeline My CR] Running batch script
.........

  • environment: Jenkins 2.41 , Windows 7

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.