Skip to content

Commit

Permalink
publish artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Viji committed Jul 31, 2024
1 parent d435193 commit d243c57
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/LCT.Common/CommonHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,10 @@ public static void CallEnvironmentExit(int code)
{
if (code == -1)
{
Publish artifactPublisher = new Publish(Log4Net.CatoolLogPath, FileOperations.CatoolBomFilePath);
artifactPublisher.UploadLogs();
EnvironmentExit(code);
}
PublishFilesToArtifact();
EnvironmentExit(code);

}

public static void EnvironmentExit(int exitCode)
Expand Down

0 comments on commit d243c57

Please sign in to comment.