update XML info format
This commit is contained in:
Vendored
+1
-1
@@ -11,7 +11,7 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=717']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=718']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.versionNumberBeta = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
|
||||
@@ -65,13 +65,13 @@
|
||||
get
|
||||
{
|
||||
return string.Format("<DeviceInfo>" +
|
||||
" <OutputFormat>{0}</OutputFormat>" +
|
||||
" <PageWidth>{1}</PageWidth>" +
|
||||
" <PageHeight>{2}</PageHeight>" +
|
||||
" <MarginTop>{3}</MarginTop>" +
|
||||
" <MarginLeft>{4}</MarginLeft>" +
|
||||
" <MarginRight>{5}</MarginRight>" +
|
||||
" <MarginBottom>{6}</MarginBottom>" +
|
||||
"<OutputFormat>{0}</OutputFormat>" +
|
||||
"<PageWidth>{1}</PageWidth>" +
|
||||
"<PageHeight>{2}</PageHeight>" +
|
||||
"<MarginTop>{3}</MarginTop>" +
|
||||
"<MarginLeft>{4}</MarginLeft>" +
|
||||
"<MarginRight>{5}</MarginRight>" +
|
||||
"<MarginBottom>{6}</MarginBottom>" +
|
||||
"</DeviceInfo>", OutputFormat, PageWidth, PageHeight, MarginTop, MarginLeft, MarginRight, MarginBottom);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user