summaryrefslogtreecommitdiffstats
path: root/collections-debian-merged/ansible_collections/netapp_eseries/santricity/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'collections-debian-merged/ansible_collections/netapp_eseries/santricity/Jenkinsfile')
-rw-r--r--collections-debian-merged/ansible_collections/netapp_eseries/santricity/Jenkinsfile40
1 files changed, 40 insertions, 0 deletions
diff --git a/collections-debian-merged/ansible_collections/netapp_eseries/santricity/Jenkinsfile b/collections-debian-merged/ansible_collections/netapp_eseries/santricity/Jenkinsfile
new file mode 100644
index 00000000..cf3b864c
--- /dev/null
+++ b/collections-debian-merged/ansible_collections/netapp_eseries/santricity/Jenkinsfile
@@ -0,0 +1,40 @@
+@Library("hub")_
+setupBlackduckBuildParameters()
+
+def hubProjectName = "ansible-santricity-collection" //"esg"
+def hubProjectVersion = "1.1"
+
+
+pipeline {
+ agent {
+ label "linux-docker"
+ }
+
+ options {
+ timestamps()
+ timeout(time: 60, unit: "MINUTES")
+ }
+
+ stages {
+ stage("Hub scan") {
+ // NOTE: Using the declarative 'agent { docker image ...}' tends to run on a different node. So don't use it here.
+ steps {
+ script {
+ docker.image("docker.netapp.com/mswbuild/openjdk8:8u181-8").inside {
+ hubScanProject(
+ "${hubProjectName}",
+ "${hubProjectVersion}",
+ productionScan: true
+ )
+ }
+ }
+ }
+ }
+ }
+
+ post {
+ always {
+ deleteDir()
+ }
+ }
+}