openbmc / docs

OpenBMC Documentation
Creative Commons Attribution 4.0 International
267 stars 305 forks source link

Example command to get latest Romulus image isn't working #73

Closed RobPellowski closed 2 years ago

RobPellowski commented 2 years ago

Location

development tutorials...OpenBMC Developer Documentation...Development Environment Setup...Download and Start QEMU Session...Download the Romulus image

Issue

This command wget https://jenkins.openbmc.org/job/latest-master/label=docker-builder,target=romulus/lastSuccessfulBuild/artifact/openbmc/build/tmp/deploy/images/romulus/obmc-phosphor-image-romulus.static.mtd returns 2022-03-29 09:54:25 ERROR 404: Not Found Actual filename has the format obmc-phosphor-image-romulus-20220329025139.static.mtd

Request

Provide a working example using wget for those who are not familiar with the Jenkins api

williamspatrick commented 2 years ago

@geissonator Do we have something misconfigured on Jenkins? When I go to the tmp/deploy/images/romulus directory I see:

Symlinks are hidden

williamspatrick commented 2 years ago

@geissonator Also if I download the .zip archive it does not contain the obmc-phosphor-image-romulus.static.mtd symlink either.

geissonator commented 2 years ago

Unfortunately, Jenkins disabled showing links in artifacts due to security concerns. They provided no way to disable this. My workaround has been to manually copy the linked to file to the link name for specific images CI needs. I'll add this workaround to the latest-master job.

RobPellowski commented 2 years ago

Working as expected, thanks!