AppCenter: build if commit message contains a specific string

792 views Asked by At

Is it possible to configure Microsoft AppCenter to set build frequency on "Build this branch on every push" but to build if commit message contains a specific string for each push.

enter image description here

2

There are 2 answers

0
M.Abdeldayem On BEST ANSWER
0
Nitin Manocha On

You can use the following logic for this :

if ("git show $gitCommit || grep "regex" == false) 
 // { your code } do not deploy
else
// deploy