diff --git a/vars/caution.groovy b/vars/caution.groovy new file mode 100644 index 0000000..97e4fe9 --- /dev/null +++ b/vars/caution.groovy @@ -0,0 +1,5 @@ +def call(String name = 'human') { + // Any valid steps can be called from this code, just like in other + // Scripted Pipeline + echo "Warning, ${name}." +} \ No newline at end of file