2022-03-23 10:28:56 -04:00
|
|
|
servepeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Linux Testing') {
|
|
|
|
steps {
|
2022-03-23 11:17:00 -04:00
|
|
|
checkout
|
2022-03-23 10:28:56 -04:00
|
|
|
sh "cargo test"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Linux Build') {
|
|
|
|
steps {
|
|
|
|
sh "cargo build --release"
|
|
|
|
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|