Cambiata compilazione Jenkinsfile

This commit is contained in:
2025-05-14 09:51:10 +02:00
parent 2069e0afa6
commit 65656768bd

View File

@@ -38,7 +38,6 @@ pipeline {
return env.GIT_BRANCH == "develop"
}
}
stage('Tomcat update') {
stages {
stage('Update Tomcat 1') {
steps {
@@ -56,7 +55,6 @@ pipeline {
}
}
}
}
stage('Publish Master') {
when {
@@ -64,7 +62,6 @@ pipeline {
return env.GIT_BRANCH == "master"
}
}
stage('Tomcat update') {
stages {
stage('Update Tomcat 1') {
steps {
@@ -92,12 +89,6 @@ sleep 10''', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaul
}
}
// stage('Publish on Azure') {
// steps {
// azureUpload fileShareName: 'storage-ci', filesPath: 'ems-engine/target/*.war*', removePrefixPath: 'ems-engine/target/', storageCredentialId: '83a86793-c1d6-4776-b20f-1ff652a57fee', storageType: 'filestorage', uploadArtifactsOnlyIfSuccessful: true, verbose: true, virtualPath: "ems-api/${env.GIT_BRANCH}"
// }
// }
}
}
stage('Publish Branch on Azure') {
@@ -105,8 +96,6 @@ sleep 10''', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaul
azureUpload fileShareName: 'storage-ci', filesPath: 'ems-engine/target/*.war*', removePrefixPath: 'ems-engine/target/', storageCredentialId: '83a86793-c1d6-4776-b20f-1ff652a57fee', storageType: 'filestorage', uploadArtifactsOnlyIfSuccessful: true, verbose: true, virtualPath: "ems-api/${env.GIT_BRANCH}"
}
}
}
}
stage('Docker Build') {
steps {
@@ -128,6 +117,9 @@ sleep 10''', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaul
}
}
}
}
}
}