Start writing format version into meta data file
This commit is contained in:
parent
df492c865a
commit
0701945bab
1 changed files with 0 additions and 12 deletions
|
|
@ -162,14 +162,12 @@ class GitInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
class JenkinsBuildParameter extends GISJsonSerialised {
|
||||
private String format
|
||||
private String name
|
||||
private String valuetype
|
||||
private String value
|
||||
|
||||
JenkinsBuildParameter(script, String name = '', String valuetype = '', String value = '') {
|
||||
super(script)
|
||||
this.format = '0.1'
|
||||
this.name = name
|
||||
this.valuetype = valuetype
|
||||
this.value = value
|
||||
|
|
@ -182,7 +180,6 @@ class JenkinsBuildParameter extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
void deserialiseJson(rawmeta) {
|
||||
//format = rawmeta['format']
|
||||
name = rawmeta['name']
|
||||
valuetype = rawmeta['valuetype']
|
||||
value = rawmeta['value']
|
||||
|
|
@ -190,7 +187,6 @@ class JenkinsBuildParameter extends GISJsonSerialised {
|
|||
|
||||
LinkedHashMap serialisationdata() {
|
||||
def data = [
|
||||
'format' : format,
|
||||
'name' : name,
|
||||
'valuetype' : valuetype,
|
||||
'value' : value,
|
||||
|
|
@ -425,7 +421,6 @@ class ReleaseInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
class ConfigurationInfo extends GISJsonSerialised {
|
||||
private String format
|
||||
private String configurationname
|
||||
private String configurationURL
|
||||
private String configurationversion
|
||||
|
|
@ -433,7 +428,6 @@ class ConfigurationInfo extends GISJsonSerialised {
|
|||
|
||||
ConfigurationInfo(script, configurationname = "", configurationURL = "", configurationversion = "", configurationSHA = "") {
|
||||
super(script)
|
||||
this.format = '0.1'
|
||||
this.configurationname = configurationname
|
||||
this.configurationURL = configurationURL
|
||||
this.configurationversion = configurationversion
|
||||
|
|
@ -441,7 +435,6 @@ class ConfigurationInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
void deserialiseJson(rawmeta) {
|
||||
//format = rawmeta['format']
|
||||
configurationname = rawmeta['configurationname']
|
||||
configurationURL = rawmeta['configurationURL']
|
||||
configurationversion = rawmeta['configurationversion']
|
||||
|
|
@ -450,7 +443,6 @@ class ConfigurationInfo extends GISJsonSerialised {
|
|||
|
||||
LinkedHashMap serialisationdata() {
|
||||
def data = [
|
||||
'format' : format,
|
||||
'configurationname' : configurationname,
|
||||
'configurationURL' : configurationURL,
|
||||
'configurationversion' : configurationversion,
|
||||
|
|
@ -532,12 +524,10 @@ class ChecksumSet extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
class ChecksumInfo extends GISJsonSerialised {
|
||||
private String format
|
||||
private ArrayList<ChecksumSet> checksumsets
|
||||
|
||||
ChecksumInfo(script) {
|
||||
super(script)
|
||||
this.format = '0.1'
|
||||
checksumsets = new ArrayList<ChecksumSet>()
|
||||
}
|
||||
|
||||
|
|
@ -556,7 +546,6 @@ class ChecksumInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
void deserialiseJson(rawmeta) {
|
||||
//format = rawmeta['format']
|
||||
checksumsets = new ArrayList<ChecksumSet>()
|
||||
for (rawchecksumset in rawmeta['checksumsets']) {
|
||||
def cs = new ChecksumSet(script)
|
||||
|
|
@ -567,7 +556,6 @@ class ChecksumInfo extends GISJsonSerialised {
|
|||
|
||||
LinkedHashMap serialisationdata() {
|
||||
def data = [
|
||||
'format' : format,
|
||||
'checksumsets' : checksumsetsserialised(),
|
||||
]
|
||||
return data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue