随笔分类 -  [4.1] Jenkins

摘要:没有什么高深的东西,1 2天的时间大多数人都能自己摸索出来,这里将自己遇到过的问题分享出来避免其他同学再一次挖坑. 目录 1. 主从节点 2. Nuget自动包还原 3. powershell部署 4. 内网机器实现基于变化的构建 5. Github私有项目pull时限 所谓主从,主要应用的场景例如 阅读全文
posted @ 2016-04-29 11:05 Alex Tian 阅读(3946) 评论(0) 推荐(0) 编辑
摘要:解决办法,重启机器 可能是我以前用的jenkins url 是127.0.0.1 然后是缓存什么没有释放掉所致 <jnlp codebase="http://183.62.104.48:8081/computer/win12/" spec="1.0+"><information><title>Age 阅读全文
posted @ 2016-04-28 10:53 Alex Tian 阅读(1230) 评论(0) 推荐(0) 编辑
摘要:IIS 7 提供了一个新的命令行工具 Appcmd.exe,可以使用该工具来配置和查询 Web 服务器上的对象,并以文本或 XML 格式返回输出。 下面是一些可以使用 Appcmd.exe 完成的任务的示例: •创建和配置站点、应用程序、应用程序池和虚拟目录。 •停止和启动站点。 •启动、停止和回收 阅读全文
posted @ 2016-03-24 17:23 Alex Tian 阅读(850) 评论(0) 推荐(0) 编辑
摘要:Monitoring and maintaining large-scale, complex, highly distributed and interconnected systems can be extremely challenging for network administrators 阅读全文
posted @ 2016-03-21 11:02 Alex Tian 阅读(2374) 评论(0) 推荐(0) 编辑
摘要:https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service SC 直接创建windows service sc.exe create "JenkinsSlave" start= auto bi 阅读全文
posted @ 2016-03-18 16:23 Alex Tian 阅读(685) 评论(0) 推荐(0) 编辑
摘要:http://www.oschina.net/translate/python-windows-azureLen 6:17:54 PM__author__ = 'len.li'from azure.storage import BlobServiceAccountName='acdpdeployte... 阅读全文
posted @ 2014-06-04 18:56 Alex Tian 阅读(447) 评论(0) 推荐(0) 编辑
摘要:http://wenku.baidu.com/link?url=wDbeRoqh8ERRvBKXsKVi7biWe8e369iZmYTfEFDz0aI1Sj5YjXq_AN1gFjFjiS0yBw0WPpg0_0ZMAIC0fnRIy4lMKqQNevNwfcCJi4qL5SW 在config.xm 阅读全文
posted @ 2014-05-28 15:42 Alex Tian 阅读(1202) 评论(0) 推荐(0) 编辑
摘要:在jenkins master-slave配置中,总是出现内存溢出问题,更换了机器设备仍然跑不起来: 问题如下:Java代码 StatusCode:500Exception:org.apache.commons.jelly.JellyTagException:jar:file:/Users/alib... 阅读全文
posted @ 2014-04-14 15:10 Alex Tian 阅读(17693) 评论(0) 推荐(0) 编辑
摘要:https://github.com/jenkinsci/jenkins-scripts/tree/master/scriptler 阅读全文
posted @ 2014-04-02 09:49 Alex Tian 阅读(660) 评论(0) 推荐(0) 编辑
摘要:有可能, jenkins slave service or jenkins service的logon 账户没有设置好 阅读全文
posted @ 2014-03-13 18:06 Alex Tian 阅读(1509) 评论(0) 推荐(0) 编辑
摘要:http://blogs.iis.net/jamescoo/default.aspxWeb Deployment Tool Now Works With Credential StoreFeb 07, 2010 The Web Deployment Tool will be releasing a brand new feature in the newest version 1.1. This new feature will allow users to store their passwords in Window’s credential store on command-line u 阅读全文
posted @ 2014-03-07 15:59 Alex Tian 阅读(364) 评论(0) 推荐(0) 编辑
摘要:http://blog.danskingdom.com/using-msbuild-to-publish-a-vs-2012-ssdt-sqlproj-database-project-the-same-way-as-a-vs-2010-dbproj-database-project/Post and code updated on March 21, 2013, and again on March 22, 2013.We recently upgraded from VS (Visual Studio) 2010 to VS 2012, and with it had to upgrade 阅读全文
posted @ 2014-03-07 11:54 Alex Tian 阅读(902) 评论(0) 推荐(0) 编辑
摘要:http://sqlproj.com/index.php/2012/03/headless-msbuild-support-for-ssdt-sqlproj-projects/Update: breaking change: http://sqlproj.com/index.php/2012/10/dacfx-sept-2012-updates-break-headless-build/This article describes how to install the required components to build and publish SQL Server Data Tools 阅读全文
posted @ 2014-03-07 11:08 Alex Tian 阅读(733) 评论(0) 推荐(0) 编辑
摘要:http://www.iis.net/learn/publish/using-web-deploy/dbdacfx-provider-for-incremental-database-publishing 阅读全文
posted @ 2014-03-07 09:27 Alex Tian 阅读(165) 评论(0) 推荐(0) 编辑
摘要:http://lwandersonmusings.blogspot.com/2011/06/workspace-cloning-sharing-in-hudson.htmlWhat's inside...Huge workspace (6GB) + long build time (6 hours) + many post-build steps (17) = huge consumption of resources.Replicate the build?Share the workspace?Clone the workspace? Clone and share the wor 阅读全文
posted @ 2014-02-13 15:08 Alex Tian 阅读(495) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/12689139/how-to-change-jenkins-default-folder-on-windowsacceptedStop Jenkins serviceMove C:\Users\Coola\.jenkins folder to d:\JenkinsUsing regedit, change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Jenkins\ImagePath to "d:\Jenkins\jenkins.exe"St 阅读全文
posted @ 2014-02-08 09:43 Alex Tian 阅读(1256) 评论(0) 推荐(0) 编辑
摘要:持续集成是个简单重复劳动,人来操作费时费力,使用自动化构建工具完成是最好不过的了。为了实现这个要求,我选择了Jenkins。从http://mirrors.jenkins-ci.org/windows/latest下载windows下的最新安装版jenkins。(如果不能安装,从http://mirrors.jenkins-ci.org/war/latest/jenkins.war下载war包,手动配置,配置说明参见https://wiki.jenkins-ci.org/display/JENKINS/Use+Jenkins)。1.安装这里直接使用安装包,安装过程很简单,这里就再说明了。安装后 阅读全文
posted @ 2014-02-08 09:32 Alex Tian 阅读(24143) 评论(1) 推荐(2) 编辑
摘要:CALL "C:\Program Files\TortoiseGit\bin\pageant.exe" "d:\CKey.ppk" set GIT_SSH=C:\Program Files\TortoiseGit\bin\TortoisePLink.execall "C:\Program Files (x86)\Git\bin\git.exe" tag "%VersionNumber%.%Build_Number%" -m "%VersionNumber%.%Build_Number%"call 阅读全文
posted @ 2014-01-27 15:54 Alex Tian 阅读(503) 评论(0) 推荐(0) 编辑
摘要:http://msdn.microsoft.com/en-us/library/dn408531.aspxhttps://www.windowsazure.com/en-us/documentation/articles/cloud-services-dotnet-continuous-delivery/#step4http://blogs.technet.com/b/canitpro/archive/2013/11/06/set-by-step-manage-windows-azure-using-powershell.aspx 阅读全文
posted @ 2014-01-13 13:14 Alex Tian 阅读(149) 评论(0) 推荐(0) 编辑
摘要:Using powershell:powershell (New-Object Net.WebClient).DownloadFile('http://www.google.com', 'result.txt')You must use single quotes and not double quotes for this to work 阅读全文
posted @ 2012-10-09 10:56 Alex Tian 阅读(129) 评论(0) 推荐(0) 编辑