The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
step([$class: 'GrypeScannerStep'])
: Vulnerability scan with grype Usage in a pipeline:
pipeline
{
agent any
options {
skipStagesAfterUnstable()
}
stages
{
stage('Build')
{
steps
{
step([$class: 'GrypeScannerStep', scanDest: 'dir:/tmp', repName: 'myScanResult.txt'])
}
}
}
}
scanDest
Scan targets can be explicitly provided with a following scheme:
String
repName
String
autoInstall
boolean
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.