stage(‘Deployment Mapping of Environment’) {
steps {
script {
def tomcatUrl
def warFileName
def contextPathName
def tomcatcredential
if (params.ENVIRONMENT == '') {
tomcatUrl = 'http://:9090'
warFileName = '**/*.war'
contextPathName = ' '
tomcatcredential = ' '
deploy adapters: [tomcat9(credentialsId: tomcatcredential, url: tomcatUrl)], contextPath: contextPathName, war:warFileName
}
re write the above script for wildfly . got struck in a project … need answers asap