I am trying to find these two lines:
<paramsToUseForLimit></paramsToUseForLimit>
</hudson.plugins.throttleconcurrents.ThrottleJobProperty>
and replace them with:
<paramsToUseForLimit/>
</hudson.plugins.throttleconcurrents.ThrottleJobProperty>
<jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl plugin="branch-api@2.6.3">
<durationName>hour</durationName>
<count>2</count>
<userBoost>false</userBoost>
</jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl>
from my file config.json
Can someone help me to do this with sed ?
sed -ie "s/Those two lines/Replaced with those 7 lines/g" /config.json