Gitiles
Code Review
Sign In
gerrit.opencord.org
/
ci-management
/
001003eba8d83cd41f043aa19bf0d987c04f406e
/
.
/
vars
/
hello.groovy
blob: b40894bf2131f579cbecbf57b0b7ea3bb8886423 [
file
] [
log
] [
blame
]
Matteo Scandolo
2276b51
2021-02-01 15:18:31 -0800
[
diff
] [
blame
]
1
// vars/sayHello.groovy
2
def
call
(
String
name
=
'human'
)
{
3
// Any valid steps can be called from this code, just like in other
4
// Scripted Pipeline
5
echo
"Hello, ${name}."
6
}