diff --git a/lib/cleanup.js b/lib/cleanup.js index 85189b708..809b391fd 100644 --- a/lib/cleanup.js +++ b/lib/cleanup.js @@ -60,11 +60,14 @@ function autoPublishBuildsAndGenerateSummary() { return __awaiter(this, void 0, void 0, function* () { // First we check for compatible CLI version let supported = yield supportedCliVersion(); + core.info("JFrog CLI version is compatible: " + supported); if (supported) { // Auto-publish build info if needed try { if (!core.getBooleanInput(utils_1.Utils.AUTO_BUILD_PUBLISH_DISABLE)) { + core.startGroup('Auto-publishing build info to JFrog Artifactory'); yield collectAndPublishBuildInfoIfNeeded(); + core.endGroup(); } } catch (error) { diff --git a/src/cleanup.ts b/src/cleanup.ts index 727824558..cf153cd2d 100644 --- a/src/cleanup.ts +++ b/src/cleanup.ts @@ -23,11 +23,14 @@ async function cleanup() { async function autoPublishBuildsAndGenerateSummary() { // First we check for compatible CLI version let supported: boolean = await supportedCliVersion(); + core.info('JFrog CLI version is compatible: ' + supported); if (supported) { // Auto-publish build info if needed try { if (!core.getBooleanInput(Utils.AUTO_BUILD_PUBLISH_DISABLE)) { + core.startGroup('Auto-publishing build info to JFrog Artifactory'); await collectAndPublishBuildInfoIfNeeded(); + core.endGroup(); } } catch (error) { core.warning('failed while attempting to publish build info: ' + error);