Migrate package to git.zontreck.com

This commit is contained in:
zontreck 2025-01-22 12:00:13 -07:00
parent 6985aa366b
commit a8b322b54f
3 changed files with 70 additions and 22 deletions

44
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,44 @@
pipeline {
agent any
options {
buildDiscarder(
logRotator(
numToKeepStr: '5'
)
)
}
stages {
stage ("Build on Linux") {
agent {
label "flutter"
}
steps {
script {
sh '''
#!/bin/bash
unset WORKSPACE
unset WORKSPACE_TMP
rm -rf doc
flutter pub get
dart doc
tar -cvf docs.tgz doc/api/*
flutter pub publish -f --skip-validation || true
'''
}
}
post {
always {
archiveArtifacts artifacts: "*.tgz", fingerprint: true
cleanWs()
}
}
}
}
}