Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 563 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 563 Bytes

Drone log fetcher for Nextcloud

This is a little script to properly extract logs from drone and render them in GitHub-flavored Markdown.

You only need to provide the drone token from https://drone.nextcloud.com/account/token inside process.php and then you can call it like this:

$ php process.php
... prints all logs of failed jobs that are against master until $MINIMUM_JOB_ID is reached

$ php process.php 12345
... prints logs of failed jobs from https://drone.nextcloud.com/nextcloud/server/12345

Installation

composer install