Template parameter to select tool installation or credentials is empty


You created a Job template with a parameter to select a tool installation or credentials but when you instantiate the job from the template the list of tools or credentials is abnormally empty (This problem occurs only if you are located in a folder).

In your browser script console you can see a 400 error like here:



  • Jenkins (OSS, LTS or Enterprise) deployed on Apache Tomcat
  • CloudBees Folder plugin
  • CloudBees Template plugin


The problem occurs only on Apache Tomcat. To fix the issue, you need to define a system property org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH with the value true. This is documented in prerequisites to deploy Jenkins on Apache Tomcat.

On Linux

In ${CATALINA_HOME}/bin/setenv.sh add the line


On Windows

In ${CATALINA_HOME}\bin\setenv.bat add the line

set CATALINA_OPTS='-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true'

Have more questions?


Please sign in to leave a comment.