Jenkins是一个用Java编写的开源持续集成工具,它包含Linux,Mac OS X,Windows,FreeBSD和OpenBSD软件包。该项目来自哈德森。
hudson.plugins.git.GitException: Command "git config remote.origin.url [email protected]:jenkinsci/pipeline-examples.git" returned status code 128: 15:33:37 stdout: 15:33:37 stderr: fatal: not in a git directory 15:33:37 15:33:37 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2732) 15:33:37 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2658) 15:33:37 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2654) 15:33:37 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1979) 15:33:37 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1991) 15:33:37 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:1599) 15:33:37 at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:161) 15:33:37 at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:393) 15:33:37 at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:219) 15:33:37 at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:118) 15:33:37 at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:70) 15:33:37 at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:312) 15:33:37 at hudson.model.ResourceController.execute(ResourceController.java:101)
詹金斯(Jenkins)在构建中拉动了什么? Jenkins拥有有关特定构建中包含的提交的信息。我知道这是因为詹金斯(Jenkins)显示了这一点(请参见下面的屏幕截图)。 如何提取有关...
如何提取CI执行期间构建中包含的提交的信息?
SETUP:Jenkins Worker Ubuntu 24.04.1带有包装器安装的金属服务器(包括插件VMware-VMX和Ansible),VMware Workstation 17.6.2和Ansible。 流量:包装工升起VMware和A ...
:拒绝的权限(publicKey)。”当我尝试在Jenkins Pipeline脚本中运行Git Fetch时。这款Jenkins Server使用SSH代理(Jenkins使用SSH连接的机器)。 奇怪的是,当我用同一用户(Ubuntu)手动将这台计算机(Jenkins Agents的凭据都使用)时,我可以运行这些命令。 当我使用用户'ubuntu'
使用GCP VM的Jenkins Cloud Agents正在脱机
中长期运行的测试执行过程中随机断开连接
jenkins-脚本插件访问拒绝scriptler gitrepo
安装Scriptler插件后,我想将脚本保存在源存储库中。 我正在尝试克隆scriptler -https://jenkins.xxxxxxxxxxxxcom/scriptler.git/ 致命:无法
我创建了一个詹金斯用户,这是终端响应
如何产生詹金斯象征 我正在尝试使用我成功检索的Crumb键从我的Bash脚本中生成Jenkins API令牌。但是,我正在遇到一个问题,即用'403 no
jenkinsUrl="http://localhost:8080" jenkinsUser="admin" tokename="newTokenName" # gnerate crumb crumb=$(curl -u $jenkinsUser:$passwordAdmin -s $jenkinsUrl/crumbIssuer/api/json | jq -r '.crumb') echo "Here is the crumb : $crumb" # generate token curl -v -u "$jenkinsUser:$passwordAdmin" \ --data "newTokenName=$tokename" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Jenkins-Crumb: $crumb" \ "$jenkinsUrl/user/$jenkinsUser/descriptorByName/jenkins.security.ApiTokenProperty/generateNewToken"
如何在jenkins中配置并行测试执行,以用于大型Java应用程序? 我管理的是一个越来越大的Java应用程序。当我有一个测试套件时,我有一个简单的配置
i懒惰的线程计数为10,因为那是我硬件上的内核数量,并假设詹金斯服务器可能会超过此。 但是随着时间的流逝,我有其他几个人/团队添加了测试套件,并且已经长到12个测试套件。 我使用Jenkins的并行关键字执行这些测试套件。但是,我很好奇所有这些套件是否可以并行执行,而所有这些套件也可以访问10个线程。 没有任何错误,但后来未能执行几个或几个测试套件。这是我看到的。 [2025-02-14T16:43:58.954Z] [INFO] [2025-02-14T16:43:58.954Z] [INFO] --- surefire:2.22.2:test (default-test) @ my-tests --- [2025-02-14T16:43:58.954Z] [INFO] [2025-02-14T16:43:58.954Z] [INFO] ------------------------------------------------------- [2025-02-14T16:43:58.954Z] [INFO] T E S T S [2025-02-14T16:43:58.954Z] [INFO] ------------------------------------------------------- [2025-02-14T16:43:58.954Z] Killed 使用JDK17,Maven3.6.1 看起来像您的JVM中的一个一样,因为它退出了。 如果您的测试引发了一个异常,则称为System.EXIT,或者JVM只是崩溃,这些可能是测试套件可能无法运行的原因。 https://maven.apache.org/surefire/maven-surefire-plugin/examples/shutdown.html 它的怪异“杀死”是写在游戏机上的全部。 我希望Surefire或Maven有更多有关JVM被杀死的反馈。 有人可以写一项正在做不应该做某事的测试吗?