Difference between revisions of "Template:Version²"

From Industrial-Craft-Wiki
Jump to: navigation, search
(Hopefully handle errors better)
(Well this is a whole lot simpler)
 
Line 1: Line 1:
 
{{#vardefine:version|{{#iferror:{{#get_web_data:
 
{{#vardefine:version|{{#iferror:{{#get_web_data:
url=http://jenkins.ic2.player.to/job/IC2_experimental/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
+
url=http://jenkins.ic2.player.to/job/IC2_experimental/lastStableBuild/buildNumber
|format=XML
+
|format=CSV
|data=version=number}}|828|{{#external_value:version}}}}}}{{#vardefine:18version|{{#iferror:{{#get_web_data:
+
|data=version=1}}|828|{{#external_value:version}}}}}}{{#vardefine:18version|{{#iferror:{{#get_web_data:
url=http://jenkins.ic2.player.to/job/IC2_18/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
+
url=http://jenkins.ic2.player.to/job/IC2_18/lastStableBuild/buildNumber
|format=XML
+
|format=CSV
|data=18version=number}}|263|{{#external_value:18version}}}}}}{{#vardefine:19version|{{#iferror:{{#get_web_data:
+
|data=18version=1}}|263|{{#external_value:18version}}}}}}{{#vardefine:19version|{{#iferror:{{#get_web_data:
url=http://jenkins.ic2.player.to/job/IC2_19/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
+
url=http://jenkins.ic2.player.to/job/IC2_19/lastStableBuild/buildNumber
|format=XML
+
|format=CSV
|data=19version=number}}|63|{{#external_value:19version}}}}}}{{#vardefine:110version|{{#iferror:{{#get_web_data:
+
|data=19version=1}}|63|{{#external_value:19version}}}}}}{{#vardefine:110version|{{#iferror:{{#get_web_data:
url=http://jenkins.ic2.player.to/job/IC2_110/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
+
url=http://jenkins.ic2.player.to/job/IC2_110/lastStableBuild/buildNumber
|format=XML
+
|format=CSV
|data=110version=number}}|252|{{#external_value:110version}}}}}}{{#vardefine:111version|{{#iferror:{{#get_web_data:
+
|data=110version=1}}|252|{{#external_value:110version}}}}}}{{#vardefine:111version|{{#iferror:{{#get_web_data:
url=http://jenkins.ic2.player.to/job/IC2_111/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
+
url=http://jenkins.ic2.player.to/job/IC2_111/lastStableBuild/buildNumber
|format=XML
+
|format=CSV
|data=111version=number}}|81|{{#external_value:111version}}}}}}{{#vardefine:latestversion|{{#iferror:{{#get_web_data:
+
|data=111version=1}}|81|{{#external_value:111version}}}}}}{{#vardefine:latestversion|{{#iferror:{{#get_web_data:
url=http://jenkins.ic2.player.to/job/IC2_112/api/xml?wrapper=changes&exclude=//description&exclude=//displayname&exclude=//name&exclude=//action&exclude=//artifact&exclude=//building&exclude=//duration&exclude=//estimatedDuration&exclude=//fullDisplayName&exclude=//id&exclude=//keepLog&exclude=//result&exclude=//timestamp&exclude=//builtOn&exclude=//changeSet//item//affectedPath&exclude=//changeSet//item//commitId&exclude=//changeSet//item//author//absoluteUrl&exclude=//changeSet//item//msg&exclude=//changeSet//item//date&exclude=//changeSet//item//path&exclude=//culprit&exclude=//changeSet//kind&exclude=//url
+
url=http://jenkins.ic2.player.to/job/IC2_112/lastStableBuild/buildNumber
|format=XML
+
|format=CSV
|data=latestversion=number}}|111|{{#external_value:latestversion}}}}}}{{#switch:{{{1|}}}
+
|data=latestversion=1}}|111|{{#external_value:latestversion}}}}}}{{#switch:{{{1|}}}
 
   |112=2.8.{{#var:latestversion}}
 
   |112=2.8.{{#var:latestversion}}
 
   |111=2.7.{{#var:111version}}
 
   |111=2.7.{{#var:111version}}

Latest revision as of 02:26, 27 March 2019

V2.8.221
THIS IS THE IC² VERSION! FOR THE IC1 VERSION SEE {{Version}}.