Skip to content

Commit

Permalink
[#1061] cargo generate directly to files folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardcl committed Sep 17, 2024
1 parent 5c67cd5 commit c249eef
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions be-rust-axum/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ odsQuickstarterPipeline(
// https://cargo-generate.github.io/cargo-generate/index.html
stage('Cargo Generate project') {
sh(
script: "cargo generate --path ${context.sourceDir}/rust-template --name ${context.componentId}",
script: "cargo generate --path ${context.sourceDir}/rust-template --name ${context.componentId} --destination ${context.sourceDir}/files",
label: "Process Rust template"
)
sh(
script: "mv ${context.componentId} ${context.sourceDir}/files",
label: "Create files folder"
)
}

odsQuickstarterStageCopyFiles(context)
Expand Down

0 comments on commit c249eef

Please sign in to comment.