From 6ce91bdec111301a009d7d5d2d1f22a2356889d6 Mon Sep 17 00:00:00 2001 From: brnrs Date: Sun, 26 Apr 2020 15:50:39 +0200 Subject: [PATCH] 0.2.0-SNAPSHOT and add jenkinsfile --- Cargo.toml | 2 +- Jenkinsfile | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Jenkinsfile diff --git a/Cargo.toml b/Cargo.toml index 6741126..3e4b6c9 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" description = "A small crate for creating listeners for events and applying their changes to a state struct." 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' + } + } + } +}