ci: add jenkinsfile

This commit is contained in:
zontreck 2025-01-30 20:27:30 -07:00
parent 2bdd5f18f6
commit 5fc4057d93

37
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,37 @@
pipeline {
agent any
options {
buildDiscarder {
logRotator(numToKeepStr: '5')
}
}
stage("Build") {
agent {
label "flutter"
}
steps {
sh '''
#!/bin/bash
flutter pub get
flutter build web
cd build/web
tar -cvf ../../web.tgz .
'''
}
post {
always {
archiveArtifacts artifacts: "web.tgz"
cleanWs()
}
}
}
}