try class
This commit is contained in:
13
src/org/SHS/Platforms.groovy
Normal file
13
src/org/SHS/Platforms.groovy
Normal file
@@ -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"
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package org.SHS
|
||||
|
||||
def sayHello(name) {
|
||||
println "Hello, ${name}!"
|
||||
}
|
||||
Reference in New Issue
Block a user