Skip to content

Commit

Permalink
fix: jenkins ci_samples (#214)
Browse files Browse the repository at this point in the history
fix: shell command used in Jenkins example
  • Loading branch information
laurentleseigneur authored Oct 10, 2023
1 parent 07e168a commit 230198e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ROOT/pages/ci_samples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ node {
stage 'Build App', {
// Download bonita-la-builder using maven
def bonitaRuntimeVersion = sh('mvn help:evaluate -Dexpression=bonita.runtime.version -q -DforceStdout', true)
def bonitaRuntimeVersion = sh returnStdout: true, script: 'mvn help:evaluate -Dexpression=bonita.runtime.version -q -DforceStdout'
sh "mvn dependency:copy -Dartifact=com.bonitasoft.tools:bonita-la-builder:${bonitaRuntimeVersion}:jar:exec -Dmdep.stripVersion -Dmdep.stripClassifier -DoutputDirectory=./" <1>
// Execute the builder using maven
sh 'mvn --non-recursive exec:exec -Dexec.executable=java -Dexec.args="-jar bonita-la-builder.jar build . -o my-app.zip"' <2>
Expand Down

0 comments on commit 230198e

Please sign in to comment.