From 04750182a7aa0bd89cf41e532af3fe408e403994 Mon Sep 17 00:00:00 2001 From: Jeff Baskin Date: Wed, 23 Mar 2022 10:28:56 -0400 Subject: [PATCH] Added Jenkins file. --- Jenkinsfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..d9245e8 --- /dev/null +++ b/Jenkinsfile @@ -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 + } + } + } +}