Skip to content

Commit

Permalink
Wrap build in xvnc server for plugin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdo committed Jun 29, 2020
1 parent ffb3b66 commit 0ae2fed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vars/capellaAddon.groovy
Expand Up @@ -68,7 +68,9 @@ def call(body) {

stage ('Build') {
steps {
sh "mvn --batch-mode -DpackagedSiteName=\"${pipelineParams.name}\" -f \"${pipelineParams.name}/pom.xml\" clean verify"
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh "mvn --batch-mode -DpackagedSiteName=\"${pipelineParams.name}\" -f \"${pipelineParams.name}/pom.xml\" clean verify"
}
}
}

Expand Down

0 comments on commit 0ae2fed

Please sign in to comment.