private static bool PublishConfluence(string buildVersion, string releaseHistoryMarkdown)
 {
     if (!_programArgs.PublishToConfluence)
     {
         return(true);
     }
     return(ConfluencePublisher.PublishMarkdownPage(buildVersion, releaseHistoryMarkdown, _programArgs));
 }
Esempio n. 2
0
 private static int PublishConfluence(string buildVersion, string releaseHistoryMarkdown, int exitCode)
 {
     if (!_programArgs.PublishToConfluence)
     {
         return(exitCode);
     }
     if (ConfluencePublisher.PublishMarkdownPage(buildVersion, releaseHistoryMarkdown, _programArgs))
     {
         exitCode = SuccessExitCode;
     }
     else
     {
         exitCode = FailureExitCode;
     }
     return(exitCode);
 }