oto/assets/scheduler.yaml
2024-12-26 23:35:57 +09:00

38 lines
No EOL
755 B
YAML

---
scheduler:
alias: test
# cron: '* * * * *'
interval: 60000 # ms
enableLog: true # (Optional) default: false
property:
workspace: /Users/toki/works/oto_cli
pipeline:
id: main
workflow:
- exe: diff
- if:
condition-bool: <!property.isDiff> == true
on-true:
- exe: shell
commands:
- command: FileDiffCheck
id: diff
param:
paths:
- /Users/toki/works/oto_cli/lib/oto/data/command_data.dart
- /Users/toki/works/oto_cli/lib/oto/data/jenkins_data.dart
- /Users/toki/works/oto_cli/lib/oto/data/jira_data.dart
- /Users/toki/works/oto_cli/lib/oto/data/pipeline_data.dart
setDiff: <@property.isDiff>
- command: Shell
id: shell
param:
commands:
- flutter pub run build_runner build