Details
-
Bug
-
Status: Reopened (View Workflow)
-
Trivial
-
Resolution: Unresolved
-
None
-
openstack, linux
Enterprise Client Version: 0.6.0
Anchore Engine Version: 0.6.0
Anchore DB Version: 0.0.12
Description
1. Jenkins anchore plugin scan docker image,
then archive artifacts: '**/*.json',
But no anchore.json archived, this anchore.json is missing
2. Jenkins anchore plugin scan docker image,
then archive artifacts: 'AnchoreReport.${JOB_BASE_NAME}_${BUILD_NUMBER}/*.json',
No artifacts found that match the file pattern "AnchoreReport.CSF-Anchore-Scan_82/*.json". Configuration error?
13:07:39 ‘anchore*.json’ doesn’t match anything*
13:07:39* No artifacts found that match the file pattern "anchore*.json". Configuration error?
So, how to archive the anchore.json file?
Enterprise Client Version: 0.6.0
Anchore Engine Version: 0.6.0
Anchore DB Version: 0.0.12
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Attachment | Jenkinsfile.txt [ 51073 ] |
Attachment | csfAnchoreScan.groovy [ 51074 ] |
Attachment | csfAnchoreScan.groovy [ 51074 ] |
Attachment | csfAnchoreScan.groovy [ 51075 ] |
Description |
1. Jenkins anchore plugin scan docker image, then archive artifacts: '**/*.json', But no anchore.json archived, this anchore.json is missing 2. Jenkins anchore plugin scan docker image, then archive artifacts: 'AnchoreReport.${JOB_BASE_NAME}_${BUILD_NUMBER}/*.json', No artifacts found that match the file pattern "AnchoreReport.CSF-Anchore-Scan_82/*.json". Configuration error? So, how to archive the anchore.json file? Enterprise Client Version: 0.6.0 Anchore Engine Version: 0.6.0 Anchore DB Version: 0.0.12 |
1. Jenkins anchore plugin scan docker image, then archive artifacts: '***/**.json', But no anchore.json archived, this anchore.json is missing 2. Jenkins anchore plugin scan docker image, then archive artifacts: 'AnchoreReport.${JOB_BASE_NAME}_${BUILD_NUMBER}/*.json', No artifacts found that match the file pattern "AnchoreReport.CSF-Anchore-Scan_82/*.json". Configuration error? So, how to archive the anchore.json file? Enterprise Client Version: 0.6.0 Anchore Engine Version: 0.6.0 Anchore DB Version: 0.0.12 |
Description |
1. Jenkins anchore plugin scan docker image, then archive artifacts: '***/**.json', But no anchore.json archived, this anchore.json is missing 2. Jenkins anchore plugin scan docker image, then archive artifacts: 'AnchoreReport.${JOB_BASE_NAME}_${BUILD_NUMBER}/*.json', No artifacts found that match the file pattern "AnchoreReport.CSF-Anchore-Scan_82/*.json". Configuration error? So, how to archive the anchore.json file? Enterprise Client Version: 0.6.0 Anchore Engine Version: 0.6.0 Anchore DB Version: 0.0.12 |
1. Jenkins anchore plugin scan docker image, then archive artifacts: '***/**.json', But no anchore.json archived, this anchore.json is missing 2. Jenkins anchore plugin scan docker image, then archive artifacts: 'AnchoreReport.${JOB_BASE_NAME}_${BUILD_NUMBER}/*.json', No artifacts found that match the file pattern "AnchoreReport.CSF-Anchore-Scan_82/*.json". Configuration error? *13:07:39* ‘anchore*.json’ doesn’t match anything*13:07:39* No artifacts found that match the file pattern "anchore*.json". Configuration error? So, how to archive the anchore.json file? Enterprise Client Version: 0.6.0 Anchore Engine Version: 0.6.0 Anchore DB Version: 0.0.12 |
Description |
1. Jenkins anchore plugin scan docker image, then archive artifacts: '***/**.json', But no anchore.json archived, this anchore.json is missing 2. Jenkins anchore plugin scan docker image, then archive artifacts: 'AnchoreReport.${JOB_BASE_NAME}_${BUILD_NUMBER}/*.json', No artifacts found that match the file pattern "AnchoreReport.CSF-Anchore-Scan_82/*.json". Configuration error? *13:07:39* ‘anchore*.json’ doesn’t match anything*13:07:39* No artifacts found that match the file pattern "anchore*.json". Configuration error? So, how to archive the anchore.json file? Enterprise Client Version: 0.6.0 Anchore Engine Version: 0.6.0 Anchore DB Version: 0.0.12 |
1. Jenkins anchore plugin scan docker image, then archive artifacts: '***/**.json', But no anchore.json archived, this anchore.json is missing 2. Jenkins anchore plugin scan docker image, then archive artifacts: 'AnchoreReport.${JOB_BASE_NAME}_${BUILD_NUMBER}/*.json', No artifacts found that match the file pattern "AnchoreReport.CSF-Anchore-Scan_82/*.json". Configuration error? *13:07:39* ‘anchore*.json’ doesn’t match anything* 13:07:39* No artifacts found that match the file pattern "anchore*.json". Configuration error? So, how to archive the anchore.json file? Enterprise Client Version: 0.6.0 Anchore Engine Version: 0.6.0 Anchore DB Version: 0.0.12 |
Resolution | Cannot Reproduce [ 5 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Resolution | Cannot Reproduce [ 5 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Priority | Blocker [ 1 ] | Trivial [ 5 ] |
Assignee | Marky Jackson [ jequals5 ] |
Comment |
[ Hi, [~jequals5], I found more interesting things on our system. Anchore reports related artifacts got published and desplayed well, however when there's a new scan/build finished on the same jenkins jobs, previous artifacts are missing. we can only see the details for the latest scan, it is exepected? i thought artifacts should be maintained per build, should not over-writed/deleted by other builds. ] |
Can you kindly share your jenkinsfile