Annotates the build with the contents of a file
This is intended to be used with other plugins like docker-compose.
Add the following to your pipeline.yml
:
steps:
- command: ls > /app/output/output.md
plugins:
- docker-compose#v3.7.0:
run: app
volumes:
- "./output:/app/output"
- phcyso/annotate-from-file#v1.0.0:
path: './output/output.md'
The path to the file to show as an annotation.
If must_exist
is set to true then the plugin will exit non zero if the files given in path
does not exist
One of the allowed annotation styles
To run the tests:
docker-compose run --rm tests
- Fork the repo
- Make the changes
- Run the tests
- Commit and push your changes
- Send a pull request