Receives list of branches for the appcenter application, build them, and print the build status report
npm install appcenter-build-monitoring
const { AppCenterBuildMonitor } = require("appcenter-build-monitoring");
const ab = new AppCenterBuildMonitor("AppName", "UserName", "APItoken");
ab.startBuildsOnConfiguredBranches();
Build 37 was started for branch3
Build 36 was started for master
master build 36 failed in 64.34 sec. Link to build logs https://appcenter.ms/users/username-microsoft.com/apps/appname/build/branches/master/builds/36
branch3 build 37 failed in 49.455 sec. Link to build logs https://appcenter.ms/users/username-microsoft.com/apps/appname/build/branches/branch3/builds/37
const abWithTimeInterval = new AppCenterBuildMonitor(
"AppName",
"UserName",
"APItoken",
10000
);
abWithTimeInterval.startBuildsOnConfiguredBranches();