Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Zhao Xiaojie
@LinuxSuRen
image.png
Sam
@zhikunhuo
好的 多谢了,我试下
yifeng
@296230428
@LinuxSuRen 你说的Jenkins存储问题导致的。能说下具体点吗,我现在的做法是每个分支单独存放
image.png
image.png
Zhao Xiaojie
@LinuxSuRen
你的这个是git吗
yifeng
@296230428
Zhao Xiaojie
@LinuxSuRen
你把分支以目录命名都放到一个仓库里,那肯定是会都触发的呀。这个不是git的玩法,你这个是svn的玩法
yifeng
@296230428
额,等我看看你的关于git多分支的视频,再试试。
Zhao Xiaojie
@LinuxSuRen
如果你是刚从svn转过来的话,先学学git
yifeng
@296230428
额,git是会的,Jenkins是刚接触,这个是别人写的,我感觉每次刷新都执行不太合理,就想改改。
Zhao Xiaojie
@LinuxSuRen
那为什么按目录区分分支呢
yifeng
@296230428
额,我也不清楚为啥这样处理,别人写好的。
Zhao Xiaojie
@LinuxSuRen
只能说git的分支不是这么玩的
yifeng
@296230428
Jenkinsfile
image.png
这么写的
image.png
好的了解了,等我先看看教程
Zhao Xiaojie
@LinuxSuRen
你遇到的问题,和Jenkinsfile没关系
yifeng
@296230428
我看了视频,也是一样的,也是扫描时,扫描出的分支都会自动执行一遍
yifeng
@296230428
@LinuxSuRen 大佬 我没太理解“你把分支以目录命名都放到一个仓库里,那肯定是会都触发的呀”,这个仓库指的是git仓库吗,还是本地路径。现在我使用git切换分支的方式。放在本地一个文件夹下。只切分支,但点击立刻scan多分支时还是所有分支都运行了。
Zhao Xiaojie
@LinuxSuRen
我也没太看懂你在描述的过程,你就按照我视频介绍的方法使用不可以吗
yifeng
@296230428
我按照视频介绍了,但视频上也是所有分支都运行了
Zhao Xiaojie
@LinuxSuRen
第一次会运行所有的分支,但是扫描的时候不会
yifeng
@296230428
你的意思是说,第二次之后点击立刻scan,只会扫描,不会触发吗
Zhao Xiaojie
@LinuxSuRen
是的
yifeng
@296230428
但我现在只要点击就会触发
yifeng
@296230428
@LinuxSuRen 额。不好意思,是我看错了,新建分支时,只会触发自己分支的。不是点击就会触发
areyouok
@hwakong:matrix.org
[m]
请教下用api创建agent的时候,这些字段怎么指定呢。
czn-15250
@czn-15250
想請教一下,關於 Jenkins 中的 Anonymous 群組是否可以刪除或更名呢?我使用的套件是-role-based strategy
yangwenguanggit
@yangwenguanggit
请教一下!!2.289新版jenkins的maven项目如何钉钉通知
请教一下!!2.289新版jenkins的maven项目如何钉钉通知,建立流水线项目可以正常钉钉通知,但是新建maven的job就没有钉钉通知的选项?
image.png
image.png
image.png
就很奇怪,是因为新版的bug吗?
qutao736085571
@qutao736085571
ERROR: Failed to parse POMs
java.io.IOException: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
at hudson.XmlFile.write(XmlFile.java:202)
at hudson.model.Run.save(Run.java:2083)
at hudson.maven.MavenModuleSetBuild.setMavenVersionUsed(MavenModuleSetBuild.java:445)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:645)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:517)
at hudson.model.Run.execute(Run.java:1912)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:100)
at hudson.model.Executor.run(Executor.java:433)
Caused by: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenModuleSetBuild
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1276)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1265)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:1238)
at hudson.XmlFile.write(XmlFile.java:195)
... 8 more
Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.git.util.BuildData#buildsByBranchName for class hudson.plugins.git.util.BuildData
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:87)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeBareItem(AbstractCollectionConverter.java:94)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:66)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeCompleteItem(AbstractCollectionConverter.java:81)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278)
at hudson.util.RobustReflectionConv
请问一下,这个错应该怎么解决?
fatCatGm
@fatCatGm
Send build artifacts over SSH 这个插件不是最新的内容
InGramViking
@InGramViking
把这个当成scp工具,构建前最好清一下workspace
Li Yong Liu
@laoniu85
配置了一个windows的node 然后把任务调度到windows agent上会报找不到git
Li Yong Liu
@laoniu85
我在全局的tool配置里面已经加了
Tidus
@AppleTidusDev
?
有什么iOS打包的好插件(上传到Fir)。大佬们推荐一下?
Sam
@zhikunhuo
向大家咨询个问题,如何在jenkins里面展示googletest的测试结果,这个需要装什么插件吗
Winmming
@keyingming
Windows 配置jenkins 执行脚本convert test_icon.png xxxxxx.jpg,提示��Ч���� - xxxxxx.jpg
Build step 'Execute shell' marked build as failure是什么问题?SOS~