Skip to content

Commit

Permalink
feat: add code fence
Browse files Browse the repository at this point in the history
  • Loading branch information
janikvonrotz committed Jan 30, 2025
1 parent 285961c commit 1179806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/jenkins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ And include it in your playbook.
Here is an example to get the list of plugins from an existing server:
```
```bash
JENKINS_HOST=username:[email protected]:port
curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?<shortName>([\w-]+).*?<version>([^<]+)()(<\/\w+>)+/\1 \2\n/g'|sed 's/ /:/'
```
Expand Down

0 comments on commit 1179806

Please sign in to comment.