Esempio n. 1
0
        public override bool Execute()
        {
            IO oOut = new IO();
            Config = oOut.GetConfig();

            QueryKicker();
            //GetKicker();

            if (nameOfKicker == null || nameOfKicker.Contains("tfsbuild"))
            {
                //No check-in today, maunal build called
                nameOfKicker = "VSTFhelp";
            }

            if (writePath.Length > 1)
            {
                oOut.OutputInText(nameOfKicker, writePath);
                return (true);
            }
            else
            {
                Log.LogMessage(MessageImportance.High, "Invalid WritePath: {0}", writePath);
                //writepath invalid
                return (false);
            }
        }
Esempio n. 2
0
        public override bool Execute()
        {
            IO oOut = new IO();
            if (successful)
            {
                oOut.OutputInText("true", writePath);
            }
            else
            {
                oOut.OutputInText("false", writePath);
            }

            return (true);

            //throw new Exception("The method or operation is not implemented.");
        }
Esempio n. 3
0
 private void writeout(string text, string path)
 {
     IO oOut = new IO();
     oOut.OutputInText(text, path);
 }