Synchronised changes with OS 4.4 branch

This commit is contained in:
Waldemar Zurowski 2020-09-16 10:23:11 +02:00
parent ebd36c22e7
commit c387c2cb95

View File

@ -248,7 +248,7 @@ pipeline {
// Comparing the dates of the previous and current builds achieves this,
// i.e. we will only send an email for the first build on a given day.
def prevBuildDate = new Date(
currentBuild?.previousBuild.timeInMillis ?: 0).clearTime()
currentBuild.previousBuild?.timeInMillis ?: 0).clearTime()
def currentBuildDate = new Date(
currentBuild.timeInMillis).clearTime()