Title: Message Title
Daniel Galvao created an issue
Jenkins / JENKINS-60104
Agent to Master Access Control rule throws java exception
Issue Type:
Bug
Assignee:
Unassigned
Components:
core
Created:
2019-11-08 11:34
Environment:
Jenkins 2.203 java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) Ubuntu 18.04.3 LTS
Priority:
Minor
Reporter:
Daniel Galvao
I've run jenkins on a single master for sometime and recently added the first jenkins agent. I'm trying to setup the agent-master access control (manage jenkins -> configure global security -> Agent Master Security Rules can be tweaked here , url: https:///administrativeMonitor/slaveToMasterAccessControl/rule/ ) I try to add a file access rule because I use the SSH publisher and the agent needs to access an SSH key in the master. When I click the "Update" button I get the java exception below. Even if I make no changes to that page and click the button I get the same exception. Please advise. Thank you! A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened. Stack trace java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.AbstractStringBuilder.charAt(AbstractStringBuilder.java:237) at java.lang.StringBuilder.charAt(StringBuilder.java:76) at jenkins.security.s2m.Adm