'Azure Pipeline: Determine jobs by detecting multiple keywords in git commit message
My situation: I have a pipeline building Android builds (with multiple flavours, hosted in either in a on-prem server or Playstore). I want to trigger only certain jobs execution within a pipeline by reading the keywords such as '-on-prem' and '-staging', or '-playstore' and '-prod' in a git commit sentence.
By referring to the answer from this thread https://stackoverflow.com/a/62269556/1371949 and Azure Pipeline: Determine jobs by detecting multiple keywords in git commit message, can I extend the function by matching an array of strings (matching multiple keywords), instead of one string?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

