oto/assets/scheduler.yaml
leedongmyung 69018aa52b debug
2025-01-05 18:23:00 +09:00

38 lines
No EOL
766 B
YAML

---
scheduler:
alias: test
# cron: '* * * * *'
interval: 60000 # ms
enableLog: true # (Optional) default: false
property:
workspace: /home/deck/work/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:
- <!property.workspace>/lib/oto/data/command_data.dart
- <!property.workspace>/lib/oto/data/jenkins_data.dart
- <!property.workspace>/lib/oto/data/jira_data.dart
- <!property.workspace>/lib/oto/data/pipeline_data.dart
setDiff: <@property.isDiff>
- command: Shell
id: shell
param:
commands:
- flutter pub run build_runner build --delete-conflicting-outputs