try class

This commit is contained in:
2023-04-22 13:08:38 +03:00
parent 35dfb7e7ac
commit 5e3c841c74
2 changed files with 13 additions and 5 deletions

View 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"
//}
}
}

View File

@@ -1,5 +0,0 @@
package org.SHS
def sayHello(name) {
println "Hello, ${name}!"
}