You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin preserves `plugins:` blocks when specified in command step configurations. This allows you to use Buildkite plugins within your monorepo-watched steps.
78
+
79
+
**Example**
80
+
81
+
```yaml
82
+
steps:
83
+
- label: "Triggering pipelines"
84
+
plugins:
85
+
- monorepo-diff#v1.8.0:
86
+
watch:
87
+
- path: services/api/
88
+
config:
89
+
command: "npm test"
90
+
plugins:
91
+
- artifacts#v1.9.4:
92
+
upload: "coverage/**/*"
93
+
- docker-compose#v5.3.0:
94
+
run: api
95
+
- path: services/web/
96
+
config:
97
+
command: "yarn build"
98
+
plugins:
99
+
- docker#v5.14.0:
100
+
image: "node:20"
101
+
workdir: /app
102
+
```
103
+
104
+
When changes are detected in the watched paths, the plugin generates steps that include the specified plugins. The `plugins:` blocks are preserved exactly as configured.
105
+
75
106
:warning: This plugin may accept configurations that are not valid pipeline steps, this is a known issue to keep its code simple and flexible.
0 commit comments