#!groovy
pipeline {
    agent none
    options {
        timeout(time: 60, unit: 'MINUTES')
    }
    stages {
        stage('Verify VMAgents templates') {
            steps {
                 parallel ( failFast: true,
                    'Custom Ubuntu without init script': {
                        runSanityChecks('s-cust-no-init-ubuntu')
                    },
                    /* Temporarily disable 'Custom Ubuntu with init script' because the vm agent template is not configured correctly.
                    'Custom Ubuntu with init script': {
                        runSanityChecks('s-cust-init-ubuntu')
                    },*/
                    'Reference Ubuntu with init script': {
                        runSanityChecks('s-ref-ubuntu')
                    },
                    'Custom Windows with init script': {
                        runSanityChecks('s-cust-windows')
                    },
                    'Reference Windows with init script': {
                        runSanityChecks('s-ref-windows')
                    })
            }
        }
    }
}
#!groovy
pipeline {
    agent none
    options {
        timeout(time: 60, unit: 'MINUTES')
    }
    stages {
        stage('Verify VMAgents templates') {
            steps {
                 parallel ( failFast: true,
                    'Custom Ubuntu without init script (public IP)': {
                        runSanityChecks('s-cust-no-init-ubuntu-public')
                    },
                    /* Temporarily disable 'Custom Ubuntu with init script (public IP)' because the vm agent template is not configured correctly.
                    'Custom Ubuntu with init script': {
                        runSanityChecks('s-cust-init-ubuntu-public')
                    },*/
                    'Reference Ubuntu with init script (public IP)': {
                        runSanityChecks('s-ref-ubuntu-public')
                    },
                    'Custom Windows with init script (public IP)': {
                        runSanityChecks('s-cust-windows-public')
                    },
                    'Reference Windows with init script (public IP)': {
                        runSanityChecks('s-ref-windows-public')
                    },
                    'Custom Ubuntu without init script (private IP)': {
                        runSanityChecks('s-cust-no-init-ubuntu-private')
                    },
                    'Reference Ubuntu with init script (private IP)': {
                        runSanityChecks('s-ref-ubuntu-private')
                    },
                    'Custom Windows with init script (private IP)': {
                        runSanityChecks('s-cust-windows-private')
                    },
                    'Reference Windows with init script (private IP)': {
                        runSanityChecks('s-ref-windows-private')
                    })
            }
        }
    }
}
Add sanity checks for agents with private IPs
Add sanity checks for agents with private IPs
