Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoExerciseChecker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Pipelines
DojoExerciseChecker
Commits
9a6b9f53
Commit
9a6b9f53
authored
2 months ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
Sonar => Resolve issues
parent
cc2110d2
No related branches found
No related tags found
No related merge requests found
Pipeline
#39560
passed
2 months ago
Stage: code_quality
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ExerciseChecker/src/managers/DojoBackendManager.ts
+2
-2
2 additions, 2 deletions
ExerciseChecker/src/managers/DojoBackendManager.ts
ExerciseChecker/src/shared
+1
-1
1 addition, 1 deletion
ExerciseChecker/src/shared
with
3 additions
and
3 deletions
ExerciseChecker/src/managers/DojoBackendManager.ts
+
2
−
2
View file @
9a6b9f53
...
...
@@ -27,11 +27,11 @@ class DojoBackendManager {
}
public
async
sendResults
(
exitCode
:
number
,
commit
:
Record
<
string
,
string
>
,
results
:
ExerciseResultsFile
,
sonarGatePass
:
boolean
|
undefined
,
files
:
Array
<
IFileDirStat
>
,
archiveBase64
:
string
):
Promise
<
void
>
{
await
axios
.
post
(
this
.
getApiUrl
(
ApiRoute
.
EXERCISE_RESULTS
).
replace
(
'
{{id}}
'
,
Config
.
exercise
.
id
),
{
await
axios
.
post
(
DojoBackendHelper
.
getApiUrl
(
ApiRoute
.
EXERCISE_RESULTS
).
replace
(
'
{{id}}
'
,
Config
.
exercise
.
id
),
{
exitCode
:
exitCode
,
commit
:
JSON
.
stringify
(
commit
),
results
:
JSON
.
stringify
(
results
),
sonarGatePass
:
sonarGatePass
?.
toString
()
??
""
,
sonarGatePass
:
sonarGatePass
?.
toString
()
??
''
,
files
:
JSON
.
stringify
(
files
),
archiveBase64
:
archiveBase64
});
...
...
This diff is collapsed.
Click to expand it.
shared
@
517dad74
Compare
937081e6
...
517dad74
Subproject commit
937081e68f6127b669daca30e57c43e73b9c96c9
Subproject commit
517dad7434944ac046b5680c0f24af08b17cf460
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment