Alibabacloud.com offers a wide variety of articles about continuous integration java, easily find your continuous integration java information here online.
calculated in advance and we can no longer allow it to be computed dynamically. Fortunately, MSBuild 4.0 or later allows us to use a subset. NET code to modify these variables, we just need to call System.String's Replace method, see below:"afterbuild"> "$ ( Postbuildevent.replace (quot;$ (TargetDir) quot;, quot;$ (TargetDir) _publishedwebsites\$ (TargetName) \bin\quot;))" condition="" />The above method allows the Web app to be fully published and integrated with the release Management se
At the end of last year, thanks to the company's introduction to Jenkins, we took the first step in continuous integration, and this article does not dwell on how to install Jenkins, and the main focus is on configuring the. Net environment. In addition, this article is installed in the Windows environment of Jenkins to operate.
First, installation environment
First we need to prepare several installation p
This is a creation in
Article, where the information may have evolved or changed.
Blog Address: yeqown.github.com
Cause
Because production needs have recently re-toss Jenkins and Docker. The main purpose is to automatically compile, package, and deploy some Golang httpserver. So decided to use Jenkins to do this continuous integration carrier, choose Jenkins for two reasons:
1. Used before, get started
The previous article said Jenkins+webdeploy+iis completed the Web project deployment, which continues with the deployment of Windows service.Windows service is typically used for automated tasks, and certain actions are scheduled to complete. This article automatic task use quartz.net+topshelf, about topshelf can refer to the garden article http://www.cnblogs.com/jys509/p/4614975.html, not the focus of this article, will not repeat.1. EnvironmentPlatform:. Net4.5Ide:visual Studio MsBuildPackage
address can be
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">
The old version of the foxmial default is no domain suffix, here we have to manually add it to
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvz2vsdxb1/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">
Assuming there is no suffix for the domain, "next" we find an account setting test option, we det
Install suggested plugins. Can be passed at the backmanage jenkins > manage plugins page to install or remove additional Jenkins plugins. The Setup Wizard displays the configuration process for Jenkins and the selected Jenkins plug-in set that is being installed. This process may take a few minutes. If only a few plug-ins are installed, click Retry, so that most of the plug-ins will be loaded up. However, the following to correct the error, haha! Finally, after customizing Jenkins through the p
1. Install a clean Ubuntu14.04 desktop version2, open http://jenkins-ci.org/official website, choose Use Jenkins, installing Jenkins on Ubuntu, complete the installation; You can open it in the browser now http://127.0.0.1:8080 /See the start page of Jenkins. 3. On the Start page, select the management plug-in and add git-related components.4, in Ubuntu, install git; (sudo apt-get install git); If you don't have git in Ubuntu, when you take a git library,Failed to connect to repository : Could n
test_app the project as an example, as follows:650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/82/FB/wKioL1dnxMngKvJ7AABhB6g9kO0829.png-wh_500x0-wm_3 -wmp_4-s_1204348487.png "title=" 23.png "alt=" Wkiol1dnxmngkvj7aabhb6g9ko0829.png-wh_50 "/>,Add and then apply and save!.PS: Only one branch can be configured per build!6, other configuration:You can configure the old build to be discarded because it is useless to keep too much.650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/
1. Download and install
I'm using a CruiseControl-2.8.4.
Cruisecontrol: http://cruisecontrol.sourceforge.net/
SVN: http://subversion.tigris.org/
First install your cruisecontrol and decompress the compressed file,
Set your environment variables and add SVN to the path of your environment variables.
After the installation, the directory structure after the installation of cruisecontrol is as follows:
Among them, cruisecontrol (CC) comes with ant1.7.0;
Logs contains log informa
The mail feature above uses the default message content, which does not look very intuitive and gives a common message content configurationModify content Type to HTML (text/html)
The default content configuration is posted here for reference
Default Subject: Build Notification: $PROJECT _name-build # $BUILD _number-$BUILD _status!Default Content:(This email is automatically issued by the program, do not reply!) ) Project Name: $PROJECT _nameBuild Number: $BUILD _numberSVN Ve
to the appropriate path of the problem:One article is worth recommending: http://www.infoq.com/cn/articles/MSBuild-1/Suggest a good lookIn VS2013, the configuration file is placed in:XXXX. Web.csproj This inside, but you open this file, you can not see Tagert or Propert, is actually quoted in this waySo you're actually going to find this file Microsoft.WebApplication.targetsBut don't try to find the ITEM in this file is the configuration of those address variables, because these are in the DLL
Use of the system is Ubuntu, so there are a lot of apt-get commands, haha forgive
Install git Git-core
Create a new Git user, and the user's home directory will be used to store git Repository. This user name is not necessarily called git, can be arbitrarily specified, but git is more commonly used, a look at the role of this account
Modify the password
Landing
sudo install git git-coreadduser gitpasswd gitsu gitThe above is a git installation
Get Gitolite
(Jenkins) Build an android project continuous integration and NativeDriver-based UI automated testing environment on the hudson Platform
From kevinkong 02:56:51 | category: automated test | font size subscription
After the deployment, running the build will first start the android simulator, then build the source code to generate the apk file, then install the apk file to the simulator, and finally build th
Unit Test Tool
1. ocunit: it is easy to integrate from xcode 2.1 into the development environment and requires no additional libraries. You can also configure xcodebuild to test in the command line, so as to test and report in CI.
2. unit test section of GTM: expands ocunit and adds some macros. Address: https://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting
3. ghunit: has an independent GUI. Address: https://github.com/gabriel/gh-unit
4, catch: C ++ Adaptive Test Cases in h
is equally practical. Like a strict woman, Hu LAI is absolutely not allowed. But for the Sun Standard Specification, modify it and use it again. Some places are too strict.
JUnitContinuous integration makes no sense without unit testing ......
EclipseA buddy in the Group recommended idea for a long time. I chose eclipse stubbornly. Although we all know that this is IBM's business strategy, I always feel that this thing is very popular, widely suppo
Linux hostsAndroid SDK installation ignores JDK installation ignore Hudson install ignoreGradle Installation1: Download the corresponding gradle (here is Gradle-2.10-all.zip) 2: Unzip gradle-2.10-all.zip to the corresponding directory 3: Set the GRADLE environment variable add save exit after executionRe-executeSee above to explain Gradle execution successHudson Configuration1Make sure the Gradle plugin plugin is installed2git addressAdd BuildSpecifies the project's root build fileExecute build
pay attention to, in the demonstration in this article, we modify CSP ( Content Security Policy ) configuration closed all security policy, hudson.model.DirectoryBrowserSupport.CSP is set to empty, in fact, there is a great security risk.Correct practice, we should be combined with the actual situation of the project, select the corresponding security policy. For example, if we need to enable script file loading, but only for files hosted on the Jenkins server CSS , you can use the following co
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.