This commit is contained in:
2024-12-25 12:48:46 +03:00
parent 8cb3680eeb
commit e18e84bfbf
2 changed files with 3 additions and 2 deletions

View File

@@ -92,11 +92,12 @@ class Platforms {
}) })
steps.writeJSON(file: "platforms_local.json", json: ret, pretty: 2) steps.writeJSON(file: "platforms_local.json", json: ret, pretty: 2)
steps.archiveArtifacts("platforms_local.json") steps.archiveArtifacts("platforms_local.json")
this._root = ret
// steps.writeJSON(file: "${steps.env.PLATFORMS_LOCAL_DIR}/platforms_local.json", json: ret, pretty: 2) // steps.writeJSON(file: "${steps.env.PLATFORMS_LOCAL_DIR}/platforms_local.json", json: ret, pretty: 2)
} }
public void copyToHost(path) { public void copyToHost(path) {
steps.writeJSON(file: path, json: steps.readJSON(file: "platforms_local.json"), pretty: 2) steps.writeJSON(file: path, json: this._root, pretty: 2)
} }

View File

@@ -1 +1 @@
libraryVersion = '0.0.1' libraryVersion = '1.0.0'