@@ -321,7 +321,7 @@ def getWorkingBranchName() {
|
||||
*/
|
||||
def getWorkingBranchHash() {
|
||||
def workingBranchHash = ""
|
||||
def proc = "git log -n1 --format=format:\"%h\"".execute()
|
||||
def proc = "git log -n1 --format=format:%h".execute()
|
||||
proc.in.eachLine { line -> workingBranchHash = line }
|
||||
proc.err.eachLine { line -> println line }
|
||||
proc.waitFor()
|
||||
|
||||
Reference in New Issue
Block a user