This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.* | |
import hudson.model.* | |
import static groovy.json.JsonOutput.* | |
import java.util.logging.* | |
import java.security.MessageDigest | |
class Bitbucket { | |
def static BITBUCKET_REST_URL = "https://bitbucket.org" | |
def static BITBUCKET_API_URL = BITBUCKET_REST_URL + "/api/2.0/" | |
def static LOGGER = Logger.getLogger("connect.bitbucket.commit.groovy.Bitbucket") |