ci: Add web build task for web.tgz

This commit is contained in:
zontreck 2025-05-16 11:46:33 -07:00
parent 0b83eaaf3c
commit 9b50945e3b

28
Jenkinsfile vendored
View file

@ -44,5 +44,33 @@ pipeline {
} }
} }
} }
stage("Build Web App") {
agent {
label 'linux'
}
steps {
script {
sh '''
#!/bin/bash
flutter build web
cd build/web
tar -cvf ../../web.tgz .
cd ../..
'''
}
}
post {
always {
archiveArtifacts artifacts: "web.tgz"
cleanWs()
}
}
}
} }
} }