jenkins: again run parallel builds, do not remove wasm
This commit is contained in:
38
Jenkinsfile
vendored
38
Jenkinsfile
vendored
@@ -14,12 +14,28 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Parallel Build and Deploy') {
|
stage('Parallel Build and Deploy') {
|
||||||
stages {
|
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') {
|
stage('Android') {
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'devenv shell dart run pdfrx:remove_wasm_modules'
|
|
||||||
sh 'devenv shell flutter build apk'
|
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