Rimesso nexus (speròm!)
This commit is contained in:
Vendored
+17
-16
@@ -16,7 +16,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=624']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=625']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '3.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '3.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO-IOB-WIN'
|
||||
@@ -103,21 +103,22 @@ pipeline {
|
||||
// Compressione in .zip dell'installer...
|
||||
bat "e:\\7za.exe a -tzip ${WORKSPACE}\\Releases\\${env.BRANCH_NAME}\\IOB-MAN.zip ${WORKSPACE}\\IOB-MAN\\bin\\*"
|
||||
// ora mi occupo delle operazioni di invio a NEXUS...
|
||||
// nexusArtifactUploader(
|
||||
// nexusVersion: 'nexus3',
|
||||
// protocol: 'http',
|
||||
// nexusUrl: 'http://nexus.steamware.net/',
|
||||
// //groupId: 'IOB-MAN',
|
||||
// version: "${env.versionNumber}",
|
||||
// repository: 'utility',
|
||||
// credentialsId: 'fe387daa-d07c-3207-877e-96c8be1be91b',
|
||||
// artifacts: [
|
||||
// [artifactId: 'IOB-MAN',
|
||||
// classifier: "${env.classifier}",
|
||||
// file: "Releases\\${env.BRANCH_NAME}\\IOB-MAN.zip",
|
||||
// type: 'zip']
|
||||
// ]
|
||||
// )
|
||||
nexusArtifactUploader(
|
||||
nexusVersion: 'nexus3',
|
||||
protocol: 'http',
|
||||
nexusUrl: 'nexus.steamware.net',
|
||||
//groupId: 'IOB-MAN',
|
||||
version: "${env.versionNumber}",
|
||||
repository: 'utility',
|
||||
// repository: 'SWS',
|
||||
credentialsId: 'bc9d8e92-4302-3266-817f-7b58501d12d5',
|
||||
artifacts: [
|
||||
[artifactId: 'IOB-MAN',
|
||||
classifier: "${env.classifier}",
|
||||
file: "Releases\\${env.BRANCH_NAME}\\IOB-MAN.zip",
|
||||
type: 'zip']
|
||||
]
|
||||
)
|
||||
}
|
||||
// procedo solo se NON si tratta di commit in ramo DOCUMentazione...
|
||||
else if (env.BRANCH_NAME != "docum") {
|
||||
|
||||
Reference in New Issue
Block a user