Update
This commit is contained in:
parent
5616f91540
commit
9b88671715
1 changed files with 2 additions and 2 deletions
|
|
@ -81,11 +81,11 @@ def gitrelease(String releaserepo, String buildstamp, String dryrunpush) {
|
|||
// Perform git commit (if necessary)
|
||||
def changes = sh(script: "git status --porcelain", returnStdout: true)
|
||||
boolean changesoccurred = changes?.trim()
|
||||
echo "changesoccurred: ${changesoccurred}"
|
||||
echo "changes: ${changes}\nchangesoccurred: ${changesoccurred}"
|
||||
if (changesoccurred) {
|
||||
sh("git commit -a -m ${buildstamp}")
|
||||
summaryappend("Commit,")
|
||||
}
|
||||
|
||||
else {
|
||||
summaryappend("No-commit,")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue