f
This commit is contained in:
@@ -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}") {
|
||||||
|
|||||||
Reference in New Issue
Block a user