Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
issenn committed Apr 23, 2019
1 parent 7c256da commit 06e914c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vars/withRbenv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
import io.issenn.jenkins.utils.utils


def call(String version='2.5.1', String method=null, Closure body) {
def call(String version='2.5.1', String method=null, Map parameters = [:], Closure body) {
// def call(Map parameters = [:], Closure body) {

// String version = parameters.get('version', '2.5.1')
// String method = parameters.get('method', 'keep')

println(version)
println(method)

String metarunner = 'rbenv'

if (fileExists(".ruby-version")) {
Expand Down

0 comments on commit 06e914c

Please sign in to comment.