tricking lerna to skip worktree clean check

This commit is contained in:
Sebastian Sdorra
2020-03-11 14:31:21 +01:00
parent bf5be402e0
commit 4f49002f63

9
Jenkinsfile vendored
View File

@@ -122,7 +122,14 @@ node('docker') {
always-auth true
email cesmarvin@cloudogu.com
'''.trim()
mvn "-pl :scm-ui buildfrontend:run@deploy"
// we are tricking lerna by pretending that we are not a git repository
sh "mv .git .git.disabled"
try {
mvn "-pl :scm-ui buildfrontend:run@deploy"
} finally {
sh "mv .git.disabled .git"
}
}
}