Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update artifact url #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

k-okada
Copy link

@k-okada k-okada commented Sep 28, 2022

Artifact URL is not working any more, not sure when CircleCI changed the specification but we need to use CIRCLE_WORKFLOW_JOB_ID.

https://support.circleci.com/hc/en-us/articles/5034956515355-How-to-Programmatically-Construct-the-URLs-for-Artifacts

k-okada added a commit to k-okada/EusLisp that referenced this pull request Sep 28, 2022
Copy link

@a-tokyo a-tokyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job! We need this!

@@ -58,7 +58,7 @@ class Bot {
const prNumber = basename(process.env.CIRCLE_PULL_REQUEST || process.env.CI_PULL_REQUEST || "");

const env: IEnvironment = {
buildUrl: process.env.CIRCLE_BUILD_URL,
buildUrl: "https://output.circle-artifacts.com/output/job/" + process.env.CIRCLE_WORKFLOW_JOB_ID,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
buildUrl: "https://output.circle-artifacts.com/output/job/" + process.env.CIRCLE_WORKFLOW_JOB_ID,
buildUrl: `https://output.circle-artifacts.com/output/job/${process.env.CIRCLE_WORKFLOW_JOB_ID}`,

@a-tokyo
Copy link

a-tokyo commented Oct 16, 2022

closes #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants