Closed rpothier closed 2 years ago
When Jenkins runs, there is an error
[2021-12-27T17:08:41.747Z] Archiving artifacts Failed to extract /var/lib/jenkins/workspace/k--summon-conjur_fix-ci-failures/transfer of 16 files
This is due to a new feature in GoReleaser that creates a new file
dist/goreleaser/artifacts.json
This file only has user read/write permissions only (600) and is owned by root and then Jenkins is unable to copy the file.
The fix is to delete the file when GoReleaser runs as we do not need this file.
Jenkins should run successfully.
Delete the dist/goreleaser/artifacts.json when GoReleaser runs.
Resolves #[relevant GitHub issue(s), e.g. 76]
At least 1 todo must be completed in the sections below for the PR to be merged.
README
When Jenkins runs, there is an error
This is due to a new feature in GoReleaser that creates a new file
This file only has user read/write permissions only (600) and is owned by root and then Jenkins is unable to copy the file.
The fix is to delete the file when GoReleaser runs as we do not need this file.
Desired Outcome
Jenkins should run successfully.
Implemented Changes
Delete the dist/goreleaser/artifacts.json when GoReleaser runs.
Connected Issue/Story
Resolves #[relevant GitHub issue(s), e.g. 76]
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be merged.
Changelog
Test coverage
Documentation
README
s) were updated in this PRBehavior
Security