Last active
December 13, 2017 22:43
-
-
Save saidsef/829f46b0457a5fd4aa98febc4157fd06 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 org.jsoup.Jsoup | |
def document = Jsoup.connect('https://api.github.com/repos/saidsef/alpine-jenkins-dockerfile-demo/releases/latest')ignoreContentType(true).execute().body() | |
def json = new groovy.json.JsonSlurper().parseText(document) | |
println(json.tag_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment