test.properties Monday=abcdef Tuesday=kfgh def props = readProperties file:'/var/lib/jenkins/jobs/abc/test.properties' def Var1= props['Monday'] def Var2= props['Tuesday'] echo "Var1=${Var1}" echo "Var2=${Var2}"
No comments:
Post a Comment