GenPi64 / Build.Dist

Build scripts for building GenPi64 images.
Other
11 stars 10 forks source link

ci(jenkins): Output the emerge log in Jenkins #189

Closed samip5 closed 1 year ago

jlpoolen commented 1 year ago

Since the log is in the chroot owned by root, you'll need to execute the cat command with "sudo". I checked run 38, January 19, 2023, of the logs and found this error:

[2023-01-19T17:25:27.372Z] + cat ./build/GenPi64OpenRC/chroot/var/log/emerge.log

[2023-01-19T17:25:27.375Z] cat: ./build/GenPi64OpenRC/chroot/var/log/emerge.log: Permission denied

script returned exit code 1

I'm still 3 days into an intense brain dump with my employer, or I'd advance my reading of the git manual and try to submit a patch to a patch.

samip5 commented 1 year ago

Since the log is in the chroot owned by root, you'll need to execute the cat command with "sudo". I checked run 38, January 19, 2023, of the logs and found this error:

[2023-01-19T17:25:27.372Z] + cat ./build/GenPi64OpenRC/chroot/var/log/emerge.log

[2023-01-19T17:25:27.375Z] cat: ./build/GenPi64OpenRC/chroot/var/log/emerge.log: Permission denied

script returned exit code 1

I'm still 3 days into an intense brain dump with my employer, or I'd advance my reading of the git manual and try to submit a patch to a patch.

Look here: https://ci.genpi64.com/blue/rest/organizations/jenkins/pipelines/GenPi64/pipelines/Build.Dist/branches/master/runs/42/nodes/206/steps/212/log/?start=0

Works fine.