bdy 1.9.57-dev → 1.9.59-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/distTs/package.json
CHANGED
|
@@ -153,8 +153,7 @@ async function getCiAndGitInfo(baseBranch) {
|
|
|
153
153
|
const invokerId = Number(process.env.BUDDY_INVOKER_ID);
|
|
154
154
|
const pipelineId = Number(process.env.BUDDY_PIPELINE_ID);
|
|
155
155
|
const actionId = Number(process.env.BUDDY_ACTION_ID);
|
|
156
|
-
const executionId =
|
|
157
|
-
const executionUrl = process.env.BUDDY_RUN_URL;
|
|
156
|
+
const executionId = process.env.BUDDY_RUN_HASH;
|
|
158
157
|
return {
|
|
159
158
|
ci: ciInfo_js_1.CI.BUDDY,
|
|
160
159
|
branch,
|
|
@@ -164,10 +163,9 @@ async function getCiAndGitInfo(baseBranch) {
|
|
|
164
163
|
pipelineName: process.env.BUDDY_PIPELINE_NAME,
|
|
165
164
|
pipelineId: Number.isNaN(pipelineId) ? undefined : pipelineId,
|
|
166
165
|
actionId: Number.isNaN(actionId) ? undefined : actionId,
|
|
167
|
-
executionId
|
|
166
|
+
executionId,
|
|
168
167
|
invokerId: Number.isNaN(invokerId) ? undefined : invokerId,
|
|
169
168
|
commitDetails: await getCommitDetails(commit),
|
|
170
|
-
executionUrl,
|
|
171
169
|
};
|
|
172
170
|
}
|
|
173
171
|
if (isGithubAction) {
|
|
@@ -45,7 +45,7 @@ function setCiAndCommitInfo(ciInfo) {
|
|
|
45
45
|
exports.invokerId = ciInfo.invokerId;
|
|
46
46
|
exports.pipelineName = ciInfo.pipelineName;
|
|
47
47
|
}
|
|
48
|
-
if (ciInfo.ci
|
|
48
|
+
if (ciInfo.ci === ciInfo_js_1.CI.GITHUB_ACTION || ciInfo.ci === ciInfo_js_1.CI.CIRCLE_CI) {
|
|
49
49
|
exports.executionUrl = ciInfo.executionUrl;
|
|
50
50
|
}
|
|
51
51
|
}
|