summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorHassan, Sean (sh265m) <sean.hassan@att.com>2020-07-30 14:27:20 -0500
committerHassan, Sean (sh265m) <sean.hassan@att.com>2020-07-30 14:27:25 -0500
commitfe82401b767a7f6c96ad1b1001eb2380ddc5a49a (patch)
treec3d644e4033db7ebd6871fc7ef14dbb4d0842c20 /Jenkinsfile
parentbdb54b7c8a5df0e686490658067c9013ee43dd7a (diff)
prepare for release 2.7.0
Issue-ID: AAF-1142 Signed-off-by: Sean Hassan <sean.hassan@att.com> Change-Id: Idc555b8b7d343e7c284b2dcf2deed2fb4ba97690
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 00000000..d9b07104
--- /dev/null
+++ b/Jenkinsfile
@@ -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}"