gitlab-ci-discord-webhook
gitlab-ci-discord-webhook copied to clipboard
Artifact 404 not found
Hi!
In my pipeline I have 3 artifacts but the number I have in the link is one higher than the last artifact. for example -/jobs/448/artifacts/download - is 404 not found but -/jobs/447/artifacts/download - is fine. However this is only one of the artifacts I would like to send to discord.
artifact url is generated from the job id: https://github.com/DiscordHooks/gitlab-ci-discord-webhook/blob/e8283de0540b328e2cbaccf2c5c823efc4a64c7f/send.sh#L7 make sure you're sending the webhook from the same job in the pipeline where you have your artifacts, otherwise the job id won't match and the url won't work.