Skip to content

Commit 9b10ad7

Browse files
Jenkinsfile: avoid uploading snapshot while integ tests are scheduled.
1 parent e4e7689 commit 9b10ad7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// dev branch only: every 30 minutes at night (1:00 - 5:00)
2-
String cronSchedule = BRANCH_NAME == 'dev' ? '*/30 1-5 * * *' : ''
1+
// dev branch only: run every hour at 30th minute at night (1:00 - 5:00)
2+
// Avoid running at the same time as integration tests: uses this projects snapshots
3+
// so make sure to not run in the middle of uploading a new snapshot to avoid dependency resolution errors.
4+
String cronSchedule = BRANCH_NAME == 'dev' ? '30 1-5 * * *' : ''
35
String buildsToKeep = '500'
46

57
String gradleArgs = '--stacktrace'

0 commit comments

Comments
 (0)