[英]Setting up Jenkins with a remote Github for Minecraft plugins
I am trying to set up Jenkins to automatically build when I push to github. 我试图将Jenkins设置为在我推送到github时自动构建。 My environment is as follows :
我的环境如下:
1) I code in eclipse on my laptop. 1)我在笔记本电脑上用eclipse编写代码。 (windows) 2) I push from my laptop to http://github.com/myaccount/plugin 3) My jenkins is on a vps.
(windows)2)我从笔记本电脑推送到http://github.com/myaccount/plugin 3)我的詹金斯夫妇正在使用vps。 (windows)
(视窗)
Is it possible to do this? 是否有可能做到这一点?
When inputting my repository, I am getting the following error : 输入存储库时,出现以下错误:
Failed to connect to repository : Could not init C:\\Windows\\TEMP\\hudson53570147835241625tmp 无法连接到存储库:无法初始化C:\\ Windows \\ TEMP \\ hudson53570147835241625tmp
I have force polling workspace enabled, and still getting the error. 我启用了强制轮询工作区,但仍然出现错误。
It is possible. 有可能的。
In jenkins: 在詹金斯:
In github 在github上
http://<your_jenkins_server>/git/notifyCommit?url=<your_repo_url>
http://<your_jenkins_server>/git/notifyCommit?url=<your_repo_url>
Now push to your repo and see your build triggered. 现在推送到您的仓库,看看您的构建已触发。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.