diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,17 @@ +node('rust') { + stage('Checkout') { + git 'https://devcentral.nasqueron.org/source/limiting-factor.git' + } + + try { + stage('Build') { + sh 'cargo build' + } + + stage('Doc') { + sh 'cargo doc --no-deps' + } + } finally { + archiveArtifacts artifacts: 'target/doc/**', onlyIfSuccessful: true + } +}