Tag: 工jenkins插件

C ++ Jenkins QA Stack / Tools

我们目前正在为您开发C ++开发的QA栈 。 我们已经有多个Jenkins实例在运行,并且与CI和其他语言(如java和php)结合在一起,创造了非常好的体验。 我所要求的是指向可以用于Jenkins的C ++开发的工具链。 更具体 (大括号中的java / php示例): testing和生成覆盖率报告的unit testing框架 (jUnit / phpUnit) 编码指南检查器 (checkstyle / phpCodeSniffer) PMD在代码库(pmd / phpmd)中发现潜在的问题, 更多如果适用/需要,但这三个将是我猜的基础? 赏金编辑: 虽然我得到了一个可以接受的答案,但我被要求提供更多的工具/选项/理由来使用Jenkins来完成这个项目。 在过去,我已经在这方面用商业工具做了不太理想的经验。 (什么?你想保存这些报告吗?那么你需要购买额外的10k Bucks / Year插件,可以为你生成花哨的graphics!)我可能在这里错了,所以请告诉我,如果我是。 但主要是我正在寻找与Jenkins一起使用C ++开发和QA的全套工具

访问Jenkins中的Build Changelog

我一直拉着我的头发试图find一种方法,包括jenkins(从SVN拉)产生的变化列表到我们的Testflight笔记。 我正在使用Testflight插件,它有一个注释字段 – 但似乎没有任何jenkins创buildembedded该信息的参数/标记。 有没有人有幸能完成这样的事情?

jenkins奴隶工作失败的“意外终止渠道”

我目前正在看到我的构build中的一组错误。 这是预期的行为,如果你松了jenkins(说到盒子崩溃,或杀死-9)? 还是有更糟糕的事情发生(如一个不好的networking连接)? 堆栈和错误是: hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) at $Proxy175.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:861) at hudson.Launcher$ProcStarter.join(Launcher.java:345) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:473) at hudson.model.Run.run(Run.java:1410) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.abort(Request.java:273) at hudson.remoting.Channel.terminate(Channel.java:732) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1157) Caused by: java.io.IOException: Unexpected termination of […]

jenkins没有执行任务(等待下一个执行者)

jenkins将不会执行任何工作。 查看这个问题后 ,我禁用了所有的从节点,但是一个简单的作业甚至不会在主节点上运行。 哪里不对?

如何在Jenkins中以root身份运行脚本?

我需要在Jenkins中以root身份运行一个shell脚本,而不是缺省用户。 我需要改变什么? 我的sudoers文件是这样的: # User privilege specification root ALL=(ALL) ALL igx ALL=(ALL) ALL %wheel ALL=(ALL) ALL # Allow members of group sudo to execute any command # (Note that later entries override this, so you might need to move %sudo ALL=(ALL) ALL # #includedir /etc/sudoers.d # Members of the admin group may gain root privileges […]

如何configurationJenkins以在端口80上运行

我正在运行Ubuntu 11.10并运行sudo apt-get install jenkins在这个系统上安装Jenkins。 我已经看过一些关于如何设置反向代理(Apache,Nginx等)的教程,但是这是一个专门用于jenkins的虚拟机,我希望在jenkins运行在80端口时尽可能保持精简。 我在/etc/init/jenkins.conffind了新的configuration,并将端口修改为80 env HTTP_PORT=80 当我通过jenkins service jenkins start , ps显示它运行了几秒钟,然后终止。 这是因为jenkins作为jenkins用户在特权端口上运行? 如果是这样,我该如何解决这个问题? 任何其他的想法一个欢迎。 这里是新贵的configuration: description "jenkins: Jenkins Continuous Integration Server" author "James Page <james.page@ubuntu.com>" start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [!2345] env USER="jenkins" env GROUP="jenkins" env JENKINS_LOG="/var/log/jenkins" env JENKINS_ROOT="/usr/share/jenkins" env JENKINS_HOME="/var/lib/jenkins" env JENKINS_RUN="/var/run/jenkins" env HTTP_PORT=80 env AJP_PORT=-1 […]

jenkinspipe道sh显示名称/标签

使用Jenkins 2 Pipeline插件,可以快速浏览stream水线阶段和步骤状态(包括日志logging输出)。 但是,如果使用“Shell脚本”(sh)步骤,似乎没有办法使用有用的名称标记该脚本,因此显示仅显示一长串“Shell脚本”(显示在图像下面)。 我怎样才能分配一个有用的名字,或者我怎样才能使用其他一些步骤来实现相同的效果?

如何更改Windows上的Jenkins默认文件夹?

如何更改Jenkins作为Windows服务运行的Windows上的Jenkins默认文件夹。 我想将C:\Users\Coola\.jenkins文件夹更改为d:\Jenkins ,原因是C:分区上的空间不足(每个版本需要大约10MB的可用空间)。 我不想重新安装Jenkins作为Windows服务。 我只是想改变现有Jenkins实例的文件夹。 如果缺乏全球性解决scheme,我只能专注于重新部署jobs文件夹。 在此先感谢您的帮助。

jenkins和多configuration(matrix)工作

为什么jenkins有两种工作,多configuration项目和自由式项目项目? 我读过某处,一旦你select其中一个,你就不能转换到另一个(很容易)。 为什么我不能总是select多configuration项目,以保证未来的变化安全? 我想为Windows和Unix(以及其他平台)上的项目构build一个构build版本。 我发现了这个问题 ),它提出了同样的问题,但我没有真正得到答案。 为什么我需要三个matrix项目(而不是三个自由式项目),每个平台一个? 为什么我不能把它们全部放在一个matrix中,在一个轴上使用平台AND(例如)gcc版本,而在另一个轴上使用(我的)软件版本? 我也读过这篇博客文章 ,但是在同一台机器上构build了所​​有的东西,只有不同的Python版本。 简而言之,大多数人如何configuration针对多个不同平台的多configuration项目?

OutputPath属性没有为项目设置

build立我的Jenkins / MSBuild解决scheme给了我这个错误 c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(483,9): error : The OutputPath property is not set for project '<projectname>.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Latest' Platform='AnyCPU'. You may be seeing this message because you are trying to build a project without a solution file, and […]