appcenter-build-monitoring
v1.0.9
Published
Receives a list of branches for the app to build and monitor them
Downloads
7
Readme
Receives list of branches for the appcenter application, build them, and print the build status report
Install
npm install appcenter-build-monitoring
Usage
Start builds on configured branches and monitor results
const { AppCenterBuildMonitor } = require("appcenter-build-monitoring");
const ab = new AppCenterBuildMonitor("AppName", "UserName", "APItoken");
ab.startBuildsOnConfiguredBranches();
Results
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
Start builds and update monitoring with a specific time interval
const abWithTimeInterval = new AppCenterBuildMonitor(
"AppName",
"UserName",
"APItoken",
10000
);
abWithTimeInterval.startBuildsOnConfiguredBranches();