- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for determineNightlyPromotionTriggerHour (0.11 sec)
-
.teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt
import org.junit.jupiter.api.Assertions.assertNull import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.CsvSource import org.junit.jupiter.params.provider.ValueSource import promotion.determineNightlyPromotionTriggerHour /* * Copyright 2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 1.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
* we run each branch on different hours. * master - 0:00 * release - 1:00 * release6x - 2:00 * release7x - 3:00 * ... * releaseNx - (N-4):00 */ fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? { val oldReleasePattern = "release(\\d+)x".toRegex() return when (branchName) { "master" -> 0 "release" -> 1 else -> {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 4.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt
"Promotes the latest successful documentation changes on '${branch.branchName}' from Ready for Nightly as a new nightly documentation snapshot" triggers { branch.determineNightlyPromotionTriggerHour()?.let { triggerHour -> schedule { scheduledTrigger(branch, policy = daily { this.hour = triggerHour }, pendingChangesOnly = true) } } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 1.6K bytes - Viewed (0)