Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFTSoftwareProject
junittestlauncher
Commits
85876e23
Commit
85876e23
authored
Jul 01, 2020
by
Kammleiter
Browse files
temp disable shutdown
parent
73509699
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/hftstuttgart/junitlauncher/rest/TaskUpload.java
View file @
85876e23
...
...
@@ -45,13 +45,13 @@ public class TaskUpload {
response
=
new
RestTemplate
().
postForEntity
(
this
.
backendUrl
+
"?jobID="
+
env
,
jUnitResult
,
Void
.
class
);
}
catch
(
Exception
e
)
{
LOG
.
error
(
"Error while Posting to backend: "
+
e
.
getMessage
());
System
.
exit
(
0
);
//
System.exit(0);
}
if
(
response
.
getStatusCode
()
!=
HttpStatus
.
OK
)
{
LOG
.
error
(
"Error while Posting to backend: "
+
response
.
toString
());
}
else
{
LOG
.
info
(
"Successfully tested and sent"
);
}
System
.
exit
(
0
);
//
System.exit(0);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment