Skip to content

Instantly share code, notes, and snippets.

@silvioramalho
Created January 18, 2022 11:56
Show Gist options
  • Save silvioramalho/717483050ef65d09d565a507c2c69fcb to your computer and use it in GitHub Desktop.
Save silvioramalho/717483050ef65d09d565a507c2c69fcb to your computer and use it in GitHub Desktop.

Shell Script - Update coverage XML tag value

sed -e 's/<source>\/home\/app\/web<\/source>/<source>\/opt\/atlassian\/pipelines\/agent\/build\/app<\/source>/' coverage.xml > temp_coverage.xml
mv temp_coverage.xml coverage.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment