Skip to content

Commit

Permalink
rollback unexpected change
Browse files Browse the repository at this point in the history
  • Loading branch information
xloypaypa authored and kevinlzw committed Dec 27, 2022
1 parent 94c4340 commit 548b8ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class PipelineCommitService(
val lastRun = runs.last()
val previousBuild = buildRepository.getPreviousBuild(
pipeline.id,
lastRun.createdTimestamp.toTimestamp(),
lastRun.commitTimeStamp.toTimestamp(),
lastRun.branch
)
val previousRunBeforeLastRun = previousBuild?.let { it.changeSets.firstOrNull()?.timestamp ?: it.timestamp }
Expand Down

0 comments on commit 548b8ad

Please sign in to comment.