Answers for "jenkins declarative pipeline functions"

0

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()
                }
            }
        }
    }
}
Posted by: Guest on January-09-2020

Code answers related to "jenkins declarative pipeline functions"

Browse Popular Code Answers by Language