This commit is contained in:
2023-04-25 12:30:14 +03:00
parent 21a85d4dd2
commit 05d5bf601d

View File

@@ -11,7 +11,7 @@ class Platforms {
steps.dir("platforms_git") { steps.dir("platforms_git") {
steps.deleteDir() steps.deleteDir()
steps.git url: "${steps.env.PLATFORMS_GIT}" steps.git url: "${steps.env.PLATFORMS_GIT}"
this._root = steps.readJSON(file: 'platforms_git/platforms.json') this._root = steps.readJSON(file: 'platforms.json')
} }
} }
} }
@@ -19,6 +19,8 @@ class Platforms {
public def root() {return _root;} public def root() {return _root;}
public void forEach(functor, stageSuffix = "", whiteList = [], blackList = []) { public void forEach(functor, stageSuffix = "", whiteList = [], blackList = []) {
print("whiteList = ${whiteList}")
print("blackList = ${blackList}")
_root.Platforms.each { key, dist -> _root.Platforms.each { key, dist ->
if (dist.enabled) { if (dist.enabled) {
steps.stage ("${key}${stageSuffix}") { steps.stage ("${key}${stageSuffix}") {