Added Jenkins file.
This commit is contained in:
parent
65222dedc0
commit
04750182a7
18
Jenkinsfile
vendored
Normal file
18
Jenkinsfile
vendored
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user