diff --git a/src/org/SHS/Platforms.groovy b/src/org/SHS/Platforms.groovy new file mode 100644 index 0000000..d5ab433 --- /dev/null +++ b/src/org/SHS/Platforms.groovy @@ -0,0 +1,13 @@ +package org.SHS + +class Platforms { + def steps + Platforms(steps) { + this.steps = steps + // stage("Download platforms.json") { + steps.sh "rm -rf platforms" + steps.sh "git clone --depth 1 ${env.PLATFORMS_GIT} platforms" + //} + + } +} \ No newline at end of file diff --git a/src/org/SHS/platforms.groovy b/src/org/SHS/platforms.groovy deleted file mode 100644 index 4acd028..0000000 --- a/src/org/SHS/platforms.groovy +++ /dev/null @@ -1,5 +0,0 @@ -package org.SHS - -def sayHello(name) { - println "Hello, ${name}!" -} \ No newline at end of file