diff --git a/Jenkinsfile b/Jenkinsfile index ce315e2..2b99731 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,12 +59,19 @@ podTemplate( } } - stage ("Store Artifacts") { + stage ("Store Jenkins Artifacts") { archiveArtifacts (artifacts: "pihole-zone-generator", fingerprint: true, allowEmptyArchive: false, onlyIfSuccessful: true, ) } + + functions.pushArtifact( + repoCreds: "nexus-generic-upload-bot", + fileName: "pihole-zone-generator", + filePath: "${workspace}/pihole-zone-generator", + fileURL: "https://nexus.c.test-chamber-13.lan/repository/generic/go/" + ) } } \ No newline at end of file