Skip to content

Instantly share code, notes, and snippets.

@richardradics
richardradics / apk.py
Last active January 25, 2017 23:09
An example for creating a plugin for the limbo slack chat bot which trigger a remote jenkins job
"""!apk <parameters> trigger a remote jenkins which returns an android apk"""
import re
try:
from urllib import quote
except ImportError:
from urllib.request import quote
import requests
import os
@richardradics
richardradics / ci.gradle
Created August 30, 2016 18:23
Supercharge CI
ext.releseNotesPath = "build/tmp/crashlytics_release_notes.txt"
def executeGitCommand(command) {
def stdout = new ByteArrayOutputStream()
exec {
commandLine command
standardOutput = stdout
}