jenkins: again run parallel builds, do not remove wasm
This commit is contained in:
36
Jenkinsfile
vendored
36
Jenkinsfile
vendored
@@ -14,12 +14,28 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Parallel Build and Deploy') {
|
||||
parallel {
|
||||
stage('Web') {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'devenv shell flutter build web --release'
|
||||
sh 'docker build -t harbor.julian-mutter.de/sheetless/sheetless-frontend .'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
withDockerRegistry([credentialsId: 'harbor', url: 'https://harbor.julian-mutter.de']) {
|
||||
sh 'docker push harbor.julian-mutter.de/sheetless/sheetless-frontend'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Android') {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'devenv shell dart run pdfrx:remove_wasm_modules'
|
||||
sh 'devenv shell flutter build apk'
|
||||
}
|
||||
}
|
||||
@@ -72,24 +88,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Web') {
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'devenv shell dart run pdfrx:remove_wasm_modules --revert'
|
||||
sh 'devenv shell flutter build web --release'
|
||||
sh 'docker build -t harbor.julian-mutter.de/sheetless/sheetless-frontend .'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
withDockerRegistry([credentialsId: 'harbor', url: 'https://harbor.julian-mutter.de']) {
|
||||
sh 'docker push harbor.julian-mutter.de/sheetless/sheetless-frontend'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user