commit | 8b00dfdbd2d4df0c8fd0994cf60c41c0e18dd0e2 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Tue Feb 02 00:47:28 2021 +0000 |
committer | Gerrit Code Review <gerrit@opencord.org> | Tue Feb 02 00:47:28 2021 +0000 |
tree | 30662157e35667c2168d09d307fad3ba904946ca | |
parent | 1d7651cb5ae2316a8db20a397290ca92a91c0866 [diff] | |
parent | 2276b515bb5b410e2479f5b818e61e6309d22686 [diff] |
Merge "Testing shared libraries in ci-management repo"
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}." +}