bmustiata / jenny

Command line Jenkinsfile runner written in groovy. Does not need a Jenkins installation to run the Jenkinsfile.
BSD 3-Clause "New" or "Revised" License
91 stars 8 forks source link

Plugins with multiple parameters are not working #19

Closed bmustiata closed 6 years ago

bmustiata commented 6 years ago

Having a plugin defined as:

def call(param1, param2) {
    sh """
    echo "pwd from pluginCommand2p: `pwd`"
    """
}

Does not work in jenny on execution.

No signature of method: libraries$_loadLibrary_closure3$_closure7.call() is applicable for argument types: (java.lang.String, java.lang.String) values: [param1, param2]