Initial version
This commit is contained in:
commit
d571e3d4e4
8
.groovylintrc.json
Normal file
8
.groovylintrc.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"extends": "recommended",
|
||||||
|
"rules": {
|
||||||
|
"Indentation": {
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
vars/buildStep.groovy
Normal file
9
vars/buildStep.groovy
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
|
def call(Map config = [:]) {
|
||||||
|
echo "Hello, ${config.name}"
|
||||||
|
if (fileExists 'Makefile') {
|
||||||
|
sh 'make'
|
||||||
|
}
|
||||||
|
echo 'Done'
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user