removed travis-related code

This commit is contained in:
MachineMuse 2015-08-28 05:45:55 -06:00
parent e7dd610dd3
commit 472e304ada

View file

@ -113,19 +113,12 @@ def getGitChangelog = { ->
def stdout = new ByteArrayOutputStream()
def gitHash = System.getenv("GIT_COMMIT")
def gitPrevHash = System.getenv("GIT_PREVIOUS_COMMIT")
def travisRange = System.getenv("TRAVIS_COMMIT_RANGE")
if(gitHash && gitPrevHash) {
exec {
commandLine 'git', 'log', '--pretty=tformat:%s - %aN', '' + gitPrevHash + '...' + gitHash
standardOutput = stdout
}
return stdout.toString().trim()
} else if(travisRange) {
exec {
commandLine 'git', 'log', '--pretty=tformat:%s - %aN', '' + travisRange
standardOutput = stdout
}
return stdout.toString().trim()
} else {
return "";
}