maven构建Jenkins ci plugin无法下载资源解决方式
2016-03-26 00:00
477 查看
摘要: 想使用git params plugin实现参数化构建,但是旧版的插件对于ssh连接git存在bug,不能使用git tag。需要自己使用快照snapshot版的插件,下载编译源码编译是遇到了一些错误
想使用git params plugin实现参数化构建,但是旧版的插件对于ssh连接git存在bug,不能使用git tag。需要自己使用快照snapshot版的插件,当然这个问题在jenkins2.0+版本中不会有,下载编译源码编译是遇到了一些错误
错误大致是这样的:
通过自己的nexus仓库无法获取到
在setting文件的mirrors节点下增加一个mirror指向http://repo.jenkins-ci.org/public
想使用git params plugin实现参数化构建,但是旧版的插件对于ssh连接git存在bug,不能使用git tag。需要自己使用快照snapshot版的插件,当然这个问题在jenkins2.0+版本中不会有,下载编译源码编译是遇到了一些错误
错误大致是这样的:
Non-resolvable parent POM for org.jenkins-ci.tools:git-parameter:0.4.1-SNAPSHOT: Failure to find org.jenkins-ci.plugins:plugin:pom:1.580.2 in http://localhost:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexusMirror has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 10 @
通过自己的nexus仓库无法获取到
<parent> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>plugin</artifactId> <!-- Baseline Jenkins version you use to build and test the plugin. Users must have this version or newer to run. --> <version>1.580.2</version> </parent>
在setting文件的mirrors节点下增加一个mirror指向http://repo.jenkins-ci.org/public
<mirrors> <mirror> <mirrorOf>m.g.o-public</mirrorOf> <url>http://repo.jenkins-ci.org/public</url> <id>jenkins-ci.org</id> <name>Jenkins CI Public</name> </mirror> </mirrors>
相关文章推荐
- 关于Jenkins在Linux快速搭建持续集成环境
- jenkins------结合maven将svn项目自动部署到tomcat下
- jenkins------部署项目到jboss eap下
- 项目构建工具学习与实践总结
- 使用Jenkins实现Jetty热部署Maven程序(20s极速)
- jenkis 部署 配置
- 持续集成相关
- Jenkins实战演练之Windows服务器快速搭建
- Jenkins实战演练之Linux服务器快速搭建
- Jenkins实战演练之安全管理
- Jenkins实战演练之Windows系统节点管理
- Jenkins实战演练之Linux系统节点管理
- Jenkins实战演练之Windows节点任务配置
- Jenkins实战演练之Linux节点任务配置
- 简析Jenkins专有用户数据库加密算法
- 每日备份JENKINS_HOME至SVN
- 使用docker构建jenkins镜像并运行容器
- jenkins 的dns 异常导致日志撑爆服务器
- 使用jenkins进行git多分支项目打包时的一个小问题
- jenkins动态参数构建