当前位置: 首页 > 工具软件 > Sonar Runner > 使用案例 >

sonar runner 由2.2.1升级到2.4

柴嘉年
2023-12-01

将2.2.1的环境变量2.4时,需要执行

1)vi /etc/profile直接进行修改;

执行source /etc/profile

在项目的目录下执行sonar-runner。


2)export SONAR_RUNNER_HOME="/usr/local/sonar-runner/sonar-runner-2.4"
      export PATH="$PATH:$SONAR_RUNNER_HOME/bin"

再执行source /etc/profile

在项目下执行sh /usr/local/sonar-runner/sonar-runner-2.4/bin/sonar-runner





 类似资料: