Continuo porting IO: filePack
This commit is contained in:
Vendored
+1
-1
@@ -7,7 +7,7 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=729']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=730']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '4.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '4.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.versionNumberBeta = VersionNumber(versionNumberString : '4.0.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SteamWare.IO
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe gestione pacchetto di file da trasferire va REST
|
||||
/// </summary>
|
||||
public class filePack
|
||||
{
|
||||
/// <summary>
|
||||
/// Array di file da inviare
|
||||
/// </summary>
|
||||
public List<smallFile> fileList { get; set; } = new List<smallFile>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Classe x definire un file (corto) inviato come Json tramite httpost
|
||||
/// </summary>
|
||||
public class smallFile
|
||||
{
|
||||
/// <summary>
|
||||
/// Nome file
|
||||
/// </summary>
|
||||
public string fileName { get; set; } = "";
|
||||
/// <summary>
|
||||
/// Contenuto
|
||||
/// </summary>
|
||||
public string content { get; set; } = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user