[JIRA] (JENKINS-62168) Let restart jenkins.war in Windows through URL with the /safeRestart pattern

2 views
Skip to first unread message

dr_pompeii@yahoo.com (JIRA)

unread,
May 5, 2020, 3:35:03 PM5/5/20
to jenkinsc...@googlegroups.com
Manuel Jordan created an issue
 
Jenkins / Improvement JENKINS-62168
Let restart jenkins.war in Windows through URL with the /safeRestart pattern
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2020-05-05 19:34
Environment: Windows 7 and 10
Priority: Minor Minor
Reporter: Manuel Jordan

When Jenkins is started in Windows (either 7 or 10) through the jenkins.war file: 

  • java -jar jenkins.war --httpPort=9090

Through a web browser the URL that works with the /safeRestart term
does not work how is expected. Always appears the following message:

  • Jenkins cannot restart itself as currently configured.

BTW, the URL with /safeRestart works fine in either Mac or Linux

Furthermore, for example /safeExit works fine in all the OS

For more details, read:

 * jenkins.war running - URL working with /safeRestart does not work in Windows

Java used in these 3 OS is:

> java --version
openjdk 11.0.6 2020-01-14 LTS
OpenJDK Runtime Environment Corretto-11.0.6.10.1 (build 11.0.6+10-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.6.10.1 (build 11.0.6+10-LTS, mixed mode)

 
Just wondered why the execution of jenkins.war file does not work in the same way in all the OS, practically is not portable in Windows
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages