Skip to content

Commit

Permalink
Changed the scanner parameters beacause of travis failure
Browse files Browse the repository at this point in the history
  • Loading branch information
redLeR1st committed Sep 19, 2019
1 parent ac3396b commit d49963f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/run-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def analyze(scanner_version, project_folder, system, dst):
cmd = cwd + '/' + dst + '/sonar-scanner-%s-linux/bin/sonar-scanner' % scanner_version
common.run_cmd('chmod', ['-R', '+x', cwd + '/' + dst + '/sonar-scanner-%s-linux' % scanner_version])
os.chdir(project_folder)
common.run_cmd(cmd, ['-X', '--define', 'sonar.login=admin', '--define', 'sonar.password=admin', '--define', 'localhost:9000'])
common.run_cmd(cmd, ['-X', '-Dsonar.login=admin', '-Dsonar.password=admin', '-Dsonar.host.url=http://localhost:9000'])
os.chdir('..')

def recursive_analyze(scanner_version, root_of_the_projects, system, dst):
Expand Down Expand Up @@ -283,7 +283,7 @@ def main(options):
# 0, a) Try to build the plugins with 'build.py'

if system == 'Windows':
common.run_cmd('py', ['-3', 'build.py', '--all'])
common.run_cmd('py', ['-3', 'tools\\build.py', '--all'])
elif system == 'Linux':
common.run_cmd('python3', ['tools/build.py', '--all'])

Expand Down

0 comments on commit d49963f

Please sign in to comment.