I have a nx monorepo with multiple apps. Want deploy based on if the dist/app/app1 is generated or changeset of files.
So, far I have tried condition changeset but its using and condition.
Want to deploy if any one of the directory has any changes.
Hi @Kaushik Das and welcome to the community!
If you have multiple paths in includePaths, then a change in any of these paths should trigger a pipeline (it shouldn't be required to have a change in all of them).
Please keep in mind the following:
In a pull-requests pipeline, all commits are taken into account, and if you provide an includePath list of patterns, the step or stage will be executed when at least one commit change matches one of the conditions.
For other types of pipelines, only the last commit is considered.
What type of pipeline are you using for the step or stage that has this condition?
If it is not a pull-request pipeline, can you check the build log of a step that didn't run and see if there was a change in any of these paths in the commit that triggered the build?
Kind regards,
Theodora
Lame idea: as you can use wildcards, why don't you just:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This will work. But I also have some dependency modules that I can not add like this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.