Skip to content

Commit e698abb

Browse files
committed
katacodaBuildJava
1 parent 2076583 commit e698abb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

runners/katacoda/index.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,13 @@ export class Katacoda extends Runner {
142142

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

145-
let skipTest;
146-
let skipTestDescr;
145+
let skipTest = "-Dmaven.test.skip=true";
146+
let skipTestDescr = "We do not need to execute the test cases, so we can skip them by using the option '-Dmaven.test.skip=true'.";
147147

148148
if(command.parameters.length == 2 && command.parameters[1] == true){
149149
skipTest = "";
150150
skipTestDescr = "";
151-
}else{
152-
skipTest = "-Dmaven.test.skip=true";
153-
skipTestDescr = "We do not need to execute the test cases, so we can skip them by using the option '-Dmaven.test.skip=true'.";
154151
}
155-
156152

157153
this.steps.push({
158154
"title": "Build the java project",

0 commit comments

Comments
 (0)