Pass parameters to jenkins job with the help of userContent I am trying to create a so-called proxy page which will accept user parameters in Jenkins and then pass them to url for running pipeline with specified parameters. 

I am trying to achieve it with the help of userContent Jenkins feature: 

&lt;font face="verdana" size="2px"&gt;
   &lt;form action="http://user:token@jenkinshost:port/job/dev/job/dev-pipeline/buildWithParameters?n1" method="post"&gt;
       Number1:&lt;input type="text" id="n1" name="n1"&gt;&lt;br&gt;
       &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
&lt;/font&gt;


But nothing works. 

I was even trying to set up the next policy through Jenkins console: 

System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-same-origin allow-scripts; default-src 'self'; script-src * 'unsafe-eval'; img-src *; style-src * 'unsafe-inline'; font-src *");


It also didn't work. 

Am I doing something wrong by missing something?
Looks like I read documentation not attentively.  

userContent supports only static content but not dynamic. 

Thus, PHP/JS or something similar can not be used there: https://wiki.jenkins.io/display/JENKINS/User+Content