prepare for release 2.7.0
[aaf/authz.git] / Jenkinsfile
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644 (file)
index 0000000..d9b0710
--- /dev/null
@@ -0,0 +1,14 @@
+#!groovy
+
+properties([[$class: 'ParametersDefinitionProperty', parameterDefinitions: [
+[$class: 'hudson.model.StringParameterDefinition', name: 'ECO_PIPELINE_ID', defaultValue: '0', description: 'Select an environment'],
+[$class: 'hudson.model.StringParameterDefinition', name: 'PHASE', defaultValue: 'BUILD, PACKAGE, SONAR, SAST', description: 'Select an instance'],
+[$class: 'hudson.model.StringParameterDefinition', name: 'TARGET_NODE', defaultValue: 'zld03318.vci.att.com', description: 'Select an environment to deploy to']
+]]])
+
+def wf = new MavenWorkflow()
+
+wf defaultPhase:'BUILD, SONAR, SAST, DAST',
+   language:'MAVEN',
+   deployType: 'SWM',
+   deployOptions:"swm:install -Dswm.target.node=${params.TARGET_NODE}"