Created
June 9, 2016 11:50
-
-
Save tizki/44eca2b6517ce9eaef1426e132be8c9a 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
def jenkins = Jenkins.getInstance() | |
def project = jenkins.getItem("Git-plugin-test") | |
def bld = project.getLastBuild() | |
def scm = project.scm | |
def data = scm.getBuildData(bld,false) | |
data.getLastBuiltRevision() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment