public static async Task <IActionResult> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req, ILogger log) { log.LogInformation($"Performance tests were started by http trigger at: {DateTime.Now}"); await AppVeyorClient.StartPerf(log); return(new ContentResult() { Content = "Build started", ContentType = "text/html", }); }
public static async Task Run([TimerTrigger("0 0 14 * * *")] TimerInfo myTimer, ILogger log) { log.LogInformation($"Performance tests were started by timer trigger at: {DateTime.Now}"); await AppVeyorClient.StartPerf(log); }