您只需要用%20替换空白:
http://JENKINS_SERVER/job/YOUR_JOB_NAM/buildWithParameters?myparam=Hello%20world
这被称为 Url Enconding, 用于不安全或特殊字符。
这是一个汇总表:
character enpred equivalencebackspace %08tab %09space %20! %21" %22# %23$ %24% %25& %26' %27( %28) %29* %2A+ %2B, %2C- %2D. %2E/ %2F: %3A; %3B< %3C= %3D> %3E? %3F@ %40[ %5B %5C] %5D^ %5E_ %5F` %60{ %7B| %7C} %7D¿ %BF参考文献:
- https://blogs.msdn.microsoft.com/oldnewthing/20100331-00/?p=14443
- https://perishablepress.com/stop-using-unsafe-characters-in-urls/
- 完整的url编码值:https : //www.degraeve.com/reference/urlencoding.php



