Initial version

This commit is contained in:
Jim Nicholson 2024-02-01 01:05:58 -08:00
commit d571e3d4e4
2 changed files with 17 additions and 0 deletions

8
.groovylintrc.json Normal file
View File

@ -0,0 +1,8 @@
{
"extends": "recommended",
"rules": {
"Indentation": {
"enabled": false
}
}
}

9
vars/buildStep.groovy Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env groovy
def call(Map config = [:]) {
echo "Hello, ${config.name}"
if (fileExists 'Makefile') {
sh 'make'
}
echo 'Done'
}