jenkinsci / jenkinsci/durable-task-plugin

[JENKINS-37036] Pipeline can't run 'bat' when the job name contains chinese characters

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

Description

I have an pipeline job contains chinese characterss, when run the job, it hungs when launching 'bat', even restart the jenkins service.

Every thing is ok when the job named in english.

I looked at jenkins-wrap.bat in the durable temporary directory, the file is encoded with utf-8, maybe this caused the problem.

---
Originally reported by dayongxie, imported from: Pipeline can't run 'bat' when the job name contains chinese characters


  • assignee: jglick
  • status: Open
  • priority: Critical
  • component(s): durable-task-plugin
  • label(s): encoding, pipeline, triaged-2018-11
  • resolution: Unresolved
  • votes: 2
  • watchers: 5
  • imported: 2025-12-09

Raw content of original issue

I have an pipeline job contains chinese characterss, when run the job, it hungs when launching 'bat', even restart the jenkins service.
Every thing is ok when the job named in english.

I looked at jenkins-wrap.bat in the durable temporary directory, the file is encoded with utf-8, maybe this caused the problem.

environment

```
Windows7

Jenkins 2.7.1

```

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.