Add Jenkinsfile

This commit is contained in:
Telesphoreo 2022-05-14 01:37:43 -05:00
parent 59d621432c
commit 0243621cd3
No known key found for this signature in database
GPG Key ID: 5ACFFC4682CF849B
3 changed files with 27 additions and 10 deletions

18
Cargo.lock generated
View File

@ -2,6 +2,15 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "IBConverter"
version = "0.1.0"
dependencies = [
"serde",
"serde_yaml",
"yaml-rust",
]
[[package]]
name = "autocfg"
version = "1.1.0"
@ -30,15 +39,6 @@ version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
[[package]]
name = "rust-learning"
version = "0.1.0"
dependencies = [
"serde",
"serde_yaml",
"yaml-rust",
]
[[package]]
name = "ryu"
version = "1.0.9"

View File

@ -1,5 +1,5 @@
[package]
name = "rust-learning"
name = "IBConverter"
version = "0.1.0"
edition = "2021"

17
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,17 @@
pipeline {
agent {
docker { image 'rust:latest' }
}
stages {
stage('Build') {
steps {
sh 'cargo build --release'
}
post {
always {
archiveArtifacts artifacts: 'target/release/*.exe', followSymlinks: false
}
}
}
}
}