2017 © Pedro Peláez
 

library z-plugin-log

Log plugin for Z

image

zicht/z-plugin-log

Log plugin for Z

  • Tuesday, November 28, 2017
  • by muhammedeminakbulut
  • Repository
  • 0 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 14 % Grown

The README.md

Logging for Z

With this plugin you can very easily trigger curl REST request to be done for any type of task., (*1)

The plugin is built in such a way that you only need to configure the names of the task you want to log, and how., (*2)

It assumes the remote is able to handle POST requests as json data, but you can configure any custom log command., (*3)

Example:

log:
    projectname: "My project"
    tasks: ['my_task']
    endpoints:
        - endpoint: http://example.org
          format: ''

This would do a POST request with curl to the specified endpoint before and after the task. Tasks can be considered succesful if both the pre and the post have been trigger., (*4)

echo 'curl -s -XPOST http://example.org -d '\'(data omitted for legibility')\'' > /dev/null' | /bin/bash -e
echo 'echo "This is the task"' | /bin/bash -e
echo 'curl -s -XPOST http://example.org -d '\''(data omitted for legibility)'\'' > /dev/null' | /bin/bash -e

Maintainers

The Versions

28/11 2017

dev-master

9999999-dev

Log plugin for Z

  Sources   Download

MIT

by Gerard van Helden

11/08 2016

1.1.0

1.1.0.0

Log plugin for Z

  Sources   Download

MIT

by Gerard van Helden

11/08 2016

dev-feature/add-badges

dev-feature/add-badges

Log plugin for Z

  Sources   Download

MIT

by Gerard van Helden

22/07 2016

1.0.2

1.0.2.0

Log plugin for Z

  Sources   Download

MIT

by Gerard van Helden

20/07 2016

1.0.1

1.0.1.0

Log plugin for Z

  Sources   Download

MIT

by Gerard van Helden

07/04 2016

1.0.0

1.0.0.0

Log plugin for Z

  Sources   Download

MIT

by Gerard van Helden