You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i called client.api().jobsApi().config(null, jobName, jobXml)) or client.api().jobsApi().create(null, jobName, jobXml))
"+" in command tag will be replace to " "
jenkins job build execute shell:
set x
bash -c "${shell}"
i try to send a similar request with postman,it is correct.
Expected Behavior
jobXml command tag content support "+" for creating or updating
Current Behavior
see jenkins job build shell below
set x
bash -c "${shell}"
"+" is missing
Context
when i called client.api().jobsApi().config(null, jobName, jobXml)) or client.api().jobsApi().create(null, jobName, jobXml))
"+" in tag will be replace to " "
Steps to Reproduce (for bugs)
create a job by jenkins page,set build->execute shell-> set +x
call client.api().jobsApi().config(null, jobName)) get jobXml,"+" exists in command tag
call client.api().jobsApi().config(null, jobName, jobXml),see jenkins server config page ,"+" is missing
parts of jobXml content:
when i called client.api().jobsApi().config(null, jobName, jobXml)) or client.api().jobsApi().create(null, jobName, jobXml))
"+" in command tag will be replace to " "
jenkins job build execute shell:
i try to send a similar request with postman,it is correct.
Expected Behavior
jobXml command tag content support "+" for creating or updating
Current Behavior
see jenkins job build shell below
"+" is missing
Context
when i called client.api().jobsApi().config(null, jobName, jobXml)) or client.api().jobsApi().create(null, jobName, jobXml))
"+" in tag will be replace to " "
Steps to Reproduce (for bugs)
Your Environment
Jenkins Server 2.199
The text was updated successfully, but these errors were encountered: