Added Jenkins file.

This commit is contained in:
Jeff Baskin 2022-03-23 10:28:56 -04:00
parent 65222dedc0
commit 04750182a7

18
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,18 @@
servepeline {
agent any
stages {
stage('Linux Testing') {
steps {
git(url: "https://gitea.baskinprattle.com/jbaskin/morethantext-web.git")
sh "cargo test"
}
}
stage('Linux Build') {
steps {
sh "cargo build --release"
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
}
}
}
}