Modify custom workspaces in all jenkins job

<br />
find . -maxdepth 2 -name config.xml | while read line ; do echo $line ; sed -i.bak -e 's/&lt;customWorkspace&gt;\/hudson&lt;\/customWorkspace&gt;/&lt;customWorkspace&gt;\/hudson\/workspace&lt;\/customWorkspace&gt;/' &quot;$line&quot; ; done<br />

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.