What is the easiest way to make a local CC.NET trigger to execute a program?

When the build fails, I would like to execute a program that shoots me in the head with this . I already wrote a program - I just need to run it when I break the assembly.

CCTray has the ability to create a sound or icon, but not run the file. Any simple ideas? I would prefer it wasn’t all day. :)

+3
source share
3 answers

CCTray allows you to run commands. In CCTry, go to File | Settings, and then click the Exec tab.

+1
source

Outlook, , , , , . , ( Ootlook 2007 , ).

0

Cradiator . , cinch , , . :

if (newlyBrokenBuilds.Any())
{ // Add a line of code to start your program here eg
  Process.Start ("C: \\ myprogram.exe");
}
0
source

Source: https://habr.com/ru/post/1753396/


All Articles