Jenkins : SWEAGLE pipeline example

pipeline {
    agent any
    stages {
        stage('UploadConfig'){
        
            steps {
                
                SWEAGLEUpload(
                actionName: 'Upload Config Files', 
                fileLocation: '/var/lib/jenkins/workspace/plugin_pipeline_test/temp.json', 
                format: 'json', 
                markFailed: false, 
                nodePath: 'Applications,TradeMax,settingsp.json', 
                onlyParent: false, 
                showResults: false,
                withSnapshot: false,
                description: '', 
                tag: '', 
                allowDelete: false)

            }
        }

        stage('Validate Config') {
            steps {
              SWEAGLEValidate(
              actionName: 'Validate Config Files',
              mdsName: 'TradeMax-PRD',
              warnMax: -1,
              errMax: 0,
              markFailed: false,
              showResults: false, 
              retryCount: 5,
              retryInterval: 30)
              
              
            }
        }

        stage('Snapshot Config') {
            steps {
              SWEAGLESnapshot(
              actionName: 'Snapshot TradeMax-PRD',
              mdsName: 'TradeMax-PRD',
              description: "Snapshot for Jenkins Build ${BUILD_ID}",
              tag: "Version:2.1.${BUILD_ID}",
              markFailed: false,
              showResults: false)
              
              
            }
        }
        
        stage('Export Config') {
            steps {
              SWEAGLEExport(
              actionName: 'Export TradeMax-PRD settings.json',
              mdsName: 'TradeMax-PRD',
              exporter: 'retrieveAllDataFromNode',
              args: "settings.json",
              format: 'json',
              fileLocation: '/var/lib/jenkins/workspace/plugin_pipeline_test/settings.json',
              markFailed: false,
              showResults: false)
              
              
            }
        }

       
    }
}