3 properties([[$class: 'ParametersDefinitionProperty', parameterDefinitions: [
4 [$class: 'hudson.model.StringParameterDefinition', name: 'ECO_PIPELINE_ID', defaultValue: '0', description: 'Select an environment'],
5 [$class: 'hudson.model.StringParameterDefinition', name: 'PHASE', defaultValue: 'BUILD, PACKAGE, SONAR, SAST', description: 'Select an instance'],
6 [$class: 'hudson.model.StringParameterDefinition', name: 'TARGET_NODE', defaultValue: 'zld03318.vci.att.com', description: 'Select an environment to deploy to']
9 def wf = new MavenWorkflow()
11 wf defaultPhase:'BUILD, SONAR, SAST, DAST',
14 deployOptions:"swm:install -Dswm.target.node=${params.TARGET_NODE}"