Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
yifeng
@296230428
这么写的
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~
convert test_icon.png xxxxxx.jpg
������ - xxxxxx.jpg
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE
meet this question,jenkins run on windows,somebody help?
Zhao Xiaojie
@LinuxSuRen
image.png
sunnywa1
@sunnywa1
向大家咨询一下问题,我的docker里的 gerrit升级到最新版后,在 gerrit triger设置里无法显示jerrit server的信息,
有遇到过的吗,
说错了,是jenkins
我的docker里的 jenkins升级到最新版后,在 gerrit triger设置里无法显示jerrit server的信息,
K8sCat
@k8scat
怎么可以在使用 docker agent 的时候设置 workspace
jcwwc
@jcwwc
有没有教程讲解如何自动构建visual studio的工程 ,在windows系统下
王叨叨
@wangdaodao
  • node -v
    v14.17.3
  • npm -v
    6.14.13
  • npm i --unsafe-perm
    npm ERR! code EACCES
    npm ERR! syscall scandir
    npm ERR! path /root/.npm/_logs
    npm ERR! errno -13
    npm ERR!
    npm ERR! Your cache folder contains root-owned files, due to a bug in
    npm ERR! previous versions of npm which has since been addressed.
    npm ERR!
    npm ERR! To permanently fix this problem, please run:
    npm ERR! sudo chown -R 1000:1000 "/root/.npm"
    glob error [Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
    errno: -13,
    code: 'EACCES',
    syscall: 'scandir',
    path: '/root/.npm/_logs'
    }
    npm ERR! code EACCES
有人知道这是啥问题吗?
node,npm都装了,但是运行的时候报错,感觉是权限的问题
Sam
@zhikunhuo
咨询下 大神 怎么将job运行的日志下载下来,日志太大了,我搜了下也没找到相关软件
zhbzdnb
@zhbzdnb
有哪个大神知道这个问题 我本地使用war启动了一个jenkins 此jenkins只要使用docker相关的组件就会报错
ERROR: Build step failed with exception
java.lang.IllegalStateException
at org.objectweb.asm.tree.analysis.BasicInterpreter.<init>(BasicInterpreter.java:66)
at org.parboiled.transform.RuleMethodInterpreter.<init>(RuleMethodInterpreter.java:42)
at org.parboiled.transform.InstructionGraphCreator.process(InstructionGraphCreator.java:41)
at org.parboiled.transform.ParserTransformer.runMethodTransformers(ParserTransformer.java:62)
at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:45)
at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:39)
at org.parboiled.Parboiled.createParser(Parboiled.java:54)
Caused: java.lang.RuntimeException: Error creating extended parser class: null
at org.parboiled.Parboiled.createParser(Parboiled.java:58)
at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:80)
at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:74)
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:199)
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:237)
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:211)
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:203)
at com.cloudbees.dockerpublish.DockerBuilder$Perform.expandAll(DockerBuilder.java:324)
at com.cloudbees.dockerpublish.DockerBuilder$Perform.getImageTags(DockerBuilder.java:335)
at com.cloudbees.dockerpublish.DockerBuilder$Perform.exec(DockerBuilder.java:305)
at com.cloudbees.dockerpublish.DockerBuilder$Perform.access$100(DockerBuilder.java:291)
at com.cloudbees.dockerpublish.DockerBuilder.perform(DockerBuilder.java:262)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:944)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:894)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
at hudson.model.Run.execute(Run.java:1906)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step 'Docker Build and Publish' marked build as failure
Finished: FAILURE
Ken
@tsqqqqqq
想请问一下jenkins 关于unity3d CICD方面的解决处理方案是啥。。我卡在unity3d构建脚本那一步了。。
long5192004
@long5192004
Jenkins 2.302
Jenkins 2.302 POSTBUILDSCIPT 3.0.0 执行时候获取不到 {PROJECT_NAME} 和 {BUILD_STATUS} ,但是 {BULD_NUM} 参数获取没问题。。哎,搞死人了