commit | 2276b515bb5b410e2479f5b818e61e6309d22686 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Mon Feb 01 15:18:31 2021 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Mon Feb 01 15:18:31 2021 -0800 |
tree | c085b115b47274883ebad9d781a3939e70366356 | |
parent | 697b8b89fc75ba8c3f50b94f91a0e3a1942e07f6 [diff] |
Testing shared libraries in ci-management repo Change-Id: Ib3736135514ecb5a9d86b2d7eed959d8023d2254
diff --git a/vars/hello.groovy b/vars/hello.groovy new file mode 100644 index 0000000..b40894b --- /dev/null +++ b/vars/hello.groovy
@@ -0,0 +1,6 @@ +// vars/sayHello.groovy +def call(String name = 'human') { + // Any valid steps can be called from this code, just like in other + // Scripted Pipeline + echo "Hello, ${name}." +}