changed to unmaintained
[aaf/authz.git] / Jenkinsfile
1 #!groovy
2
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']
7 ]]])
8
9 def wf = new MavenWorkflow()
10
11 wf defaultPhase:'BUILD, SONAR, SAST, DAST',
12    language:'MAVEN',
13    deployType: 'SWM',
14    deployOptions:"swm:install -Dswm.target.node=${params.TARGET_NODE}"