Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62040

pipeline cannot find and archiveArtifacts anchore.json after anchore plugin scan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • openstack, linux

      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

        1. csfAnchoreScan.groovy
          3 kB
          Anthony Guo
        2. Jenkinsfile.txt
          2 kB
          Anthony Guo

            Unassigned Unassigned
            guobaisheng Anthony Guo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: