Skip to content

Commit

Permalink
set defaultbranchname to nightly-test
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Aug 15, 2024
1 parent 1250c4a commit 535a46d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fun Triggers.runNightly(config: NightlyTriggerConfiguration) {

schedule{
enabled = config.nightlyTestsEnabled
branchFilter = "+:" + config.branch // returns "+:/refs/heads/main" if default
branchFilter = "+:" + config.branch // returns "+:/refs/heads/nightly-test" if default
triggerBuild = always() // Run build even if no new commits/pending changes
withPendingChangesOnly = false
enforceCleanCheckout = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const val DefaultDaysOfWeek = "*"
const val DefaultDaysOfMonth = "*"

// This represents the default branch to be used for testing
const val DefaultBranchName = "refs/heads/main"
const val DefaultBranchName = "refs/heads/nightly-test"

// Value used to make long-running builds fail due to a timeout
const val DefaultBuildTimeoutDuration = 60 * 12 // 12 hours in minutes
Expand Down

0 comments on commit 535a46d

Please sign in to comment.