Aggiornato Jenkinsfile
Some checks failed
IntegryManagementSystem_Multi/pipeline/head There was a failure building this commit
Some checks failed
IntegryManagementSystem_Multi/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -134,7 +134,15 @@ sleep 10''', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaul
|
||||
|
||||
// Entra nella directory della repository di destinazione
|
||||
dir('IntegryManagementSystemTSModules') {
|
||||
bat "git checkout -b ${env.GIT_BRANCH}"
|
||||
if(env.GIT_BRANCH != "master") {
|
||||
// Crea un nuovo branch se non è master o develop
|
||||
bat "git checkout -b ${env.GIT_BRANCH}"
|
||||
} else {
|
||||
// Altrimenti, torna al branch master o develop
|
||||
bat "git checkout ${env.GIT_BRANCH}"
|
||||
}
|
||||
|
||||
//bat "git checkout -b ${env.GIT_BRANCH}"
|
||||
bat "git pull origin ${env.GIT_BRANCH}"
|
||||
|
||||
// Copia i file .ts nella repository di destinazione
|
||||
|
||||
Reference in New Issue
Block a user