msbuild jenkins pipeline release code example

Example 1: jenkins declarative pipeline functions

Map modules = [:]
pipeline {
    agent any
    stages {
        stage('test') {
            steps {
                script{
                    modules.first = load "first.groovy"
                    modules.first.test1()
                    modules.first.test2()
                }
            }
        }
    }
}

Example 2: how to maintain jenkins

It is done by -DevOps Team-,
But I provide them information of my tests and configuration info and
also the emails to send notifications.
 Git path
 Mvn code; goals - compile, or verify -drunner=xml, etc.
 Time schedule for certain tests

Tags:

Misc Example