Checkout python and use it to run the collation step
This commit is contained in:
parent
05f9212fc4
commit
c38b0dc2d0
1 changed files with 20 additions and 0 deletions
|
|
@ -19,6 +19,26 @@ abstract class GISJsonSerialised implements Serializable {
|
|||
}
|
||||
}
|
||||
|
||||
class TestInfo extends GISJsonSerialised{
|
||||
String buildjobname
|
||||
int buildnumber
|
||||
|
||||
TestInfo(script) {
|
||||
super(script)
|
||||
script.echo("Initializing Test Info Object")
|
||||
}
|
||||
|
||||
void setInfoFromFile(String filepath){
|
||||
script.echo("TestInfo: Deserialising JSON at file: ${filepath}")
|
||||
def rawmeta = script.readJSON(file: filepath)
|
||||
deserialiseJson(rawmeta)
|
||||
}
|
||||
|
||||
void deserialiseJson(rawmeta) {
|
||||
TestInfo = rawmeta['TestInfo']
|
||||
}
|
||||
}
|
||||
|
||||
class ProductInfo extends GISJsonSerialised {
|
||||
String productname
|
||||
String subcomponentname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue