我运行Jenkins,sonarqube每个docker和我在sonarqube docker安装声纳扫描仪。我在浏览器localhost:9000工作时检查了sonarqube,我在jenkins中配置了sonarqube和github repo,我在jenkins中构建了project,我得到了错误消息
Started by user user
Building in workspace /bitnami/jenkins/workspace/refrigerator-manager
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/dean-
kim/refrigerator-manager # timeout=10
Fetching upstream changes from https://github.com/dean-
kim/refrigerator-manager
> git --version # timeout=10
using GIT_ASKPASS to set credentials
> git fetch --tags --progress https://github.com/dean-
kim/refrigerator-manager +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} #
timeout=10
Checking out Revision 619639b2a173a3aa58ec05c13442168f7a8e49dd
(refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 619639b2a173a3aa58ec05c13442168f7a8e49dd
Commit message: "fix sonar-project.properties file"
> git rev-list --no-walk 619639b2a173a3aa58ec05c13442168f7a8e49dd #
timeout=10
[refrigerator-manager] $ /sonar-scanner-3.1.0.1141-linux/bin/sonar-
scanner -Dsonar.host.url=http://localhost:9000 ******** -
Dsonar.projectName=Refrigerator-manager -Dsonar.projectVersion=1.0 -
Dsonar.sourceEncoding=UTF-8 -Dsonar.projectKey=my:project -
Dsonar.host.url=http://localhost:9000 -
Dsonar.sources=refrigeratior_manager -
Dsonar.projectBaseDir=/bitnami/jenkins/workspace/refrigerator-manager
INFO: Scanner configuration file: /sonar-scanner-3.1.0.1141-
linux/conf/sonar-scanner.properties
INFO: Project root configuration file:
/bitnami/jenkins/workspace/refrigerator-manager/sonar-
project.properties
INFO: SonarQube Scanner 3.1.0.1141
INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
INFO: Linux 4.9.41-moby amd64
INFO: User cache: /home/tomcat/.sonar/cache
ERROR: SonarQube server [http://localhost:9000] can not be reached
INFO: -----------------------------------------------------------------
-------
INFO: EXECUTION FAILURE
INFO: -----------------------------------------------------------------
-------
INFO: Total time: 0.441s
INFO: Final Memory: 3M/59M
INFO: -----------------------------------------------------------------
-------
ERROR: Error during SonarQube Scanner execution
ERROR: Unable to execute SonarQube
ERROR: Caused by: Fail to get bootstrap index from server
ERROR: Caused by: Failed to connect to localhost/127.0.0.1:9000
ERROR: Caused by: Connection refused (Connection refused)
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full
debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the
SonarScanner succedeed?
ERROR: SonarQube scanner exited with non-zero code: 1
Finished: FAILURE
下面是我在github存储库项目根目录中的sonar-project.properties。
sonar.projectKey=my:project
sonar.projectName=Refrigerator-manager
sonar.projectVersion=1.0
sonar.sources=refrigeratior_manager
sonar.host.url=http://localhost:9000
以下是我对sonarqube的jenkins系统配置
当您运行从Jenkins构建的sonarqube扫描仪时,您的sonarqube扫描仪正在运行吗??如果没有,它将抛出上面的消息,因为jenkins试图监听端口9000,但没有任何东西。
运行以下命令时:cmd/c c:\sonar-runner-2.4\bin\sonar-runner.bat (sonar runner安装在生成计算机上)我得到以下错误: 错误:无法访问sonar服务器“http://localhost:9000” 错误:sonar runner执行期间出错 错误:java.net.ConnectException:连接被拒绝:连接 错误:原因:连接被拒绝:连接
我已经安装了Jenkins和Sonarqube5.1.1(也尝试了LTS),它运行在Ubuntu服务器上,可以从外部访问。我已经安装了Jenkins SonarQube插件,一切都差不多工作了。如果我在Jenkins中将SonarQube服务器URL设置为localhost,那么一切都很好。但是到SonarQube(在Jenkins内部)的链接将指向localhost,当我从外部访问Jenkins
停止服务器后日志文件的其余部分如下: 以下是我在sonar.properties文件中编写的一些属性: sonar.web.host=172.31.254.181 sonar.web.context=/sonar sonar.web.port=9000 sonar.jdbc.username=sonar sonar.jdbc.password=sonar sonar.jdbc.url=jdbc:m
我使用NetBeans8.0和GlassFish server 4.0创建了一个Java RESTful web服务,并使用了我的数据库(本地)。当我单击“测试RESTful web服务”时,我的默认web浏览器打开并显示一个警告: 无法访问WADL:请重新启动您的RESTful应用程序,并刷新此页面。
大家好,我几个月前安装了premium edition burp。我可以很容易地从我的电脑上拦截web应用程序。但是当我试图从我的Android设备上拦截应用程序时,问题出现了。我很努力地在网上搜索任何可能的解决方案,但都没有效果。当我用手机连接burp并试图访问Http网站时,我总是无法通过代理服务器错误访问。还有,你能告诉我如何拦截来自messenger、Facebook for Androi