diff --git a/Cargo.toml b/Cargo.toml index 6ab5c01..da8cdb8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eventear" -version = "0.1.0" +version = "0.2.0-SNAPSHOT" authors = ["brnrs "] edition = "2018" diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..7017fbb --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline { + agent any + stages { + stage('update-rust') { + steps { + sh 'rustup update' + } + } + stage('build') { + steps { + sh 'cargo build --release --verbose' + } + } + stage('test') { + steps { + sh 'cargo test --release --verbose' + } + } + } +}