From 598580ecd213f1f28d9b5d363ad6be7c84f1bf67 Mon Sep 17 00:00:00 2001 From: Harika Chintha Date: Thu, 20 Jan 2022 11:29:31 -0600 Subject: [PATCH] sds --- vars/helloWorld.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/helloWorld.groovy b/vars/helloWorld.groovy index 2fdb8e3f..250d4e92 100644 --- a/vars/helloWorld.groovy +++ b/vars/helloWorld.groovy @@ -1,3 +1,3 @@ -def call(Map config = [:]) { - sh "echo Hello ${config.name}. Today is ${config.dayOfWeek}." +def call(string name, string day { + sh "echo Hello ${name}. Today is ${day}." }