commit 64b797c242bc83a5472914830f96d74b601e7a34
parent 1475060a59e2c35e671fd45d951610f42da0c804
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Sun, 4 May 2025 15:20:35 +0200
feat(Jenkins): add trivy
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -1,6 +1,7 @@
@Library('in0rdr-jenkins-lib@master') _
def updatecli = new Updatecli(this)
+def trivy = new Trivy(this)
// https://plugins.jenkins.io/hashicorp-vault-plugin/#user-content-usage-via-jenkinsfile
def secrets = [
@@ -16,5 +17,7 @@ node('podman'){
withVault([vaultSecrets: secrets]) {
updatecli.run('apply')
+ trivy.vuln()
+ trivy.sbom()
}
}