Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions runners/katacoda/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,16 @@ export class Katacoda extends Runner {

runBuildJava(step: Step, command: Command): RunResult{

let cdCommand = this.changeCurrentDir(path.join("/root", "devonfw", "workspaces", "main", command.parameters[0]));;
let cdCommand = this.changeCurrentDir(path.join("/root", "devonfw", "workspaces", "main", command.parameters[0]));

let skipTestDescr = "";
let skipTest = "";
if(command.parameters[1] == true){
skipTest = '-Dmaven.test.skip=' + command.parameters[1];
skipTestDescr = "We do not need to execute the test cases, so we can skip them by using the option '-Dmaven.test.skip=true'."
let skipTest = "-Dmaven.test.skip=true";
let skipTestDescr = "We do not need to execute the test cases, so we can skip them by using the option '-Dmaven.test.skip=true'.";

if(command.parameters.length == 2 && command.parameters[1] == true){
skipTest = "";
skipTestDescr = "";
}

this.steps.push({
"title": "Build the java project",
"text": "step" + this.stepsCount + ".md"
Expand Down