Skip to content

Commit

Permalink
#332: swicthed to parametrized cron for jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelendik committed Apr 12, 2024
1 parent e861674 commit b70a280
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ public class CronJobFactory extends PipelineFactory {
if (scheduling != null && orgRepoScheduling) {
pipelineTriggers {
triggers {
cron {
spec(parseSheduling(scheduling))
}
parameterizedCron(parseSheduling(scheduling))
// cron {
// spec(parseSheduling(scheduling))
// }
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ public class TestJobFactory extends PipelineFactory {
if (scheduling != null && orgRepoScheduling) {
pipelineTriggers {
triggers {
cron {
spec(parseSheduling(scheduling))
}
parameterizedCron(parseSheduling(scheduling))
// cron {
// spec(parseSheduling(scheduling))
// }
}
}
}
Expand Down

0 comments on commit b70a280

Please sign in to comment.