diff --git a/.kraken/static_analysis.py b/.kraken/static_analysis.py index fb8f3c19..123a1f9b 100644 --- a/.kraken/static_analysis.py +++ b/.kraken/static_analysis.py @@ -101,7 +101,7 @@ def stage(ctx): "tool": "shell", "cmd": "npm install", "cwd": "kraken/ui", - "timeout": 240 + "timeout": 400 }, { "tool": "nglint", "cwd": "kraken/ui" diff --git a/server/kraken/server/bg/jobs.py b/server/kraken/server/bg/jobs.py index c0a8f0e9..8a7b009b 100644 --- a/server/kraken/server/bg/jobs.py +++ b/server/kraken/server/bg/jobs.py @@ -343,6 +343,7 @@ def _analyze_dev_test_case_result(job, job_tcr): def _analyze_job_results_history(job): # TODO: if branch is forked from another base branch take base branch results into account + counts = [0, 0, 0, 0] for job_tcr in job.results: # analyze history log.info('Analyze result %s %s', job_tcr, job_tcr.test_case.name) diff --git a/server/kraken/server/gitops.py b/server/kraken/server/gitops.py index 87a9e5e4..6746cdbc 100644 --- a/server/kraken/server/gitops.py +++ b/server/kraken/server/gitops.py @@ -116,7 +116,7 @@ def _collect_commits_from_git_log(text): if flag == 'A': commit['added'].append(fpath) elif flag == 'D': - commit['deleted'].append(fpath) + commit['removed'].append(fpath) else: commit['modified'].append(fpath)