环境:
OS: Windows-10
Git Bash Version: 2.33.1
OpenSSH_8.8p1, OpenSSL 1.1.1l 24 Aug 2021
$ which ssh
/usr/bin/ssh
Run Code Online (Sandbox Code Playgroud)
SSH 连接到 Gerrit 错误:-
$ ssh -p 29418 user@gerrit.example.com
Unable to negotiate with gerrit.example.com port 29418: no matching host key type found. Their offer: ssh-rsa,ssh-dss
Run Code Online (Sandbox Code Playgroud)
通过Git-2.32.0ssh 连接到 gerrit 可以正常工作。最新的 git 版本是否启用了任何限制?
我正在尝试将一个项目从 GitLab 迁移到 GitHub。.dat,.csv,.exe,.pkl存储库大小为 685.83MB,由几个超过 100MB 到 3383.40 MB 的文件组成。它因以下错误而失败。
GitLab To GitHub Migration Steps:-
$ git clone --mirror git@your-gitlab-site.com:test/my-repo.git
$ cd my-repo.git
$ git remote set-url --push origin git@github.com:test/my-repo.git
$ git push
Error
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: File Src/project/label/file1.dat is 476.32 MB; this exceeds GitHub Enterprise's file size limit of 100.00 MB
remote: error: File Src/models/label/file2.dat is 2431.49 MB; this exceeds GitHub …Run Code Online (Sandbox Code Playgroud) 我们的 SonarQube 环境详细信息如下:
\n\nSonarQube Version \xe2\x80\x93 6.7.5(LTS).\nsonar-cxx-plugin-1.1.0.jar (Community Plugin).\nRun Code Online (Sandbox Code Playgroud)\n\n使用C++ language和覆盖率均在.info & .html( generated from genhtml command) 中生成。尝试分别在 SonarQube 上上传 lcov 覆盖率.info & .html两种格式,但 \xe2\x80\x99 不起作用。
1)似乎.info & .html无法将直接基于报告上传到sonarqube中。
2)那么我应该按照此链接的指示将它们转换为xml格式 --> https://github.com/eriwen/lcov-to-cobertura-xml
\n\n3) 或者建议将 lcov 覆盖率报告上传到 Sonarqube for C++ 的最佳方法。
\nJenkins Version - 2.164.1
Jenkins Docker Plugin Version – 1.1.6
Docker Version - 18.09.3, build 774a1f4
Run Code Online (Sandbox Code Playgroud)
问题:-
我的 Jenkins 脚本管道部分中有以下代码。我已经添加了我的私有 Docker 注册表 URL 和在 Manage Jenkins --> Configure System 下添加的凭据。但是管道作业无法登录 docker。
詹金斯的错误形式 -
ERROR: docker login failed
代码:-
stage('Build') {
withDockerRegistry(credentialsId: 'docker-reg-credentails', url: 'http://registryhub:8081/nexus/') {
image = docker.image('registryhub:8085/ubuntu-16:1')
image.pull()
docker.image('registryhub:8085/ubuntu-16:1').inside {
sh 'cat /etc/issue'
}
}
}
Run Code Online (Sandbox Code Playgroud) 我们的声纳构建环境详情如下:
我们的SonarQube服务器是集中式服务器,所以安装了(cxx-plugin,objective-c-plugin和csharp-plugin)
当前问题:
当我们扫描代码时,如果失败,则出现以下错误.由于我们有多种语言(C#和C++)代码,因此必须一次扫描该语言.
ERROR: Caused by: Language of file 'workspace/HS30/baseclasses/ametex.h' can not be decided as the file matches patterns of both sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h and sonar.lang.patterns.objectivec : **/*.h,**/*.m
sonar.language = cs,c ++(试过但没用)
所以请帮助我们解决同样的问题.
我在Jenkins上遇到问题-执行SonarQube扫描仪构建选项。
我们的环境详细信息如下:Jenkins主服务器操作系统:Ubuntu-12.04 LTS-64 Bit。
问题描述:-我在Jenkins Master Server本身的“ Analysis properties”类别下定义了sonar.project.properties信息,当我尝试通过它执行相同操作时失败,并出现以下error.java.lang.UnsupportedClassVersionError:
hudson/plugins/sonar/SonarRunnerInstallation$1 : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
Caused: java.lang.ClassFormatError: Failed to load hudson.plugins.sonar.SonarRunnerInstallation$1
Run Code Online (Sandbox Code Playgroud)
请帮助我解决相同的问题。
我对SonarQube 6.7(LTS)的疑问很少
1)如果我从Ubuntu机器启动带有root帐户的sonarqube服务,它将失败并出现以下错误.
错误信息
从SONARQUBE_HOME/logs/es.log中显示错误如下:
2017.11.09 08:42:29 ERROR es[][o.e.b.Bootstrap] Exception
java.lang.RuntimeException: can not run elasticsearch as root
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:106) ~[elasticsearch-5.6.3.jar:5.6.3]
Run Code Online (Sandbox Code Playgroud)
但是,使用非root帐户,我能够启动该服务,现在它正常工作.那么有没有办法使用root帐户启动服务?如果是这样,请让我知道.
2)此版本中未显示的仪表板和配置窗口小部件选项,是否从此版本中删除了这些选项?请告诉我.