Alibabacloud.com offers a wide variety of articles about jenkins integration testing, easily find your jenkins integration testing information here online.
Before deploying the WebLogic project through Jenkins, the server needs to install the WebLogic service in advance, WebLogic service build please Baidu or search my posts in the blog Park "WebLogic Service Build"Sign in to Jenkinshttp://IP or domain name: 8080Build a "Build project" firstLeft navigation bar, select "New Task", then enter a task name, customize, select the second item "Build a MAVEN project" and click OK.GeneralTick "Discard old build"
One, ant installation configuration1. Official website: http://ant.apache.org/bindownload.cgiCorresponding operating system select the corresponding version of the download, this article with Windows as a column, download and unzip to the local2. Setting System Environment variablesant_home:d:\apache-ant-1.9.7Path:%ant_home%\binClasspath:%ant_home%\libAfter Setup, the corresponding ant version will appear after the DOS command input ant-version ok!Second, JMeter and
Since the last article, "Jenkins + Git Build Continuous Integration environment", this configuration of the job has new requirements, but also stepped into a new pit. It is hereby recorded that the police have their own body.Task Requirements:These three steps add a build step to the build section of the Job Configuration page.First add the "Package Build" command:CD Buildscriptsbuild.batDojo's build tools
When Jenkins integrates Gitlab, the Source Code management adds Gitlab warehouse path regardless of how it tries to report the following two exceptions:" git ls-remote-h [email protected]:xxx/dev_test.git HEAD " - : Stdout:stderr:Permission denied, please tryagain. Permission denied, please try again. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Fatal:the remote end hung up unexpectedlyOr" /usr/local/git/bin/git-c core.askpass
SH script to the remote server and execute the script (the script is mainly to close Tomcat and delete the war package under WebApps)//SCP sshexec4. Copy the war package to the remote server5. Launch Tomcat, deploy complete.The sh script, which is used to close Tomcat and delete the war package, uses the way to kill the process instead of the Tomcat-shutdown script, because when Tomcat is closed, execution shutdown.sh will error:#!/bin/bash#KillTomcat Piduser=`WhoAmI' Pidlist=`PS-ef|grepapache-
variable is in effect, enter on the command line: Git version will show git versions, such as:Five, git install directory configurationEnter the system Management-Global Tools Configuration page in Jenkins to add the following configuration, such as:Vi.. Project configurationWhen set up, there will be no error, such as:After saving, start building, such as:The build succeeds, but the execution fails, and the build steps need to be added, such as:Afte
Reprint: http://www.android100.org/html/201506/22/156680.htmlJenkins+git+gradle-based Android continuous integration, JenkinsgradleThis article refers to the following:http://my.oschina.net/uboluo/blog/157483Http://java.dzone.com/articles/automating-continuousPreviously, the APK was manually generated via the IDE (Eclipse or Android Studio) and sent to testers via QQ or email, and now the Division requires continuous
⑤:jenkins of continuous integration script for automated code deployment and one-click Rollback to the previous version
One: This article uses the way Jenkins invokes shell scripts to get code from a git server, package, deploy to a Web server, remove a Web server from a load balancer, unzip, copy a configuration file, create a soft connection, test each Web serv
By adding a PowerShell plugin, the published package is pushed to a specific application server using its powerful Windows system commands.System Management-Plug-in management-powershellInstall it, restart Jenkins, and then modify your previous job to add the PowerShell push file scriptAdd a build type that is added below MSBuildThe above PS code function is to use the account for remote login, will send data to the shared folder, overwriting its prev
This article refers to the following:http://my.oschina.net/uboluo/blog/157483Http://java.dzone.com/articles/automating-continuousPreviously, the APK was manually generated via the IDE (Eclipse or Android Studio) and sent to testers via QQ or email, and now the Division requires continuous integration of the project, that is, in some way timed (e.g. three o'clock in the morning per night) Automatically pull down the latest code from the Git library to
Software engineering testing is broadly divided into three steps: unit testing, integration testing, system testing, unit testing has been introduced last time, this time from the integration
File (Web project Direct input solution name, for example)Command Line Arguments (the first row in the build parameter is to rebuild the solution; The second line is to build the release version; the third line is to build the 4.0 version of Framwork)At this point, the project code of the Automatic acquisition, compilation has been configured to complete, the next is the deployment of the problem, study the FTP plugin does not solve the problem, I am currently using the Hudson Post build taskBe
1. Install the pipeline plug-in and first recognize
1. Start Jenkins, open browser http://localhost:8080, system administration, user name: chenshanju/123456
2. System Management-plug-in management, install pipeline plugin
3. Configuring the MAVEN EnvironmentSystem Management-Global tool configuration.If MAVEN is not installed on this machine and the name is set to M3, select Install MavenIf MAVEN is installed on this machine, the nam
purely unit tests, the test quality of the underlying function tests the upper function to produceHave a big impact.7. Four phases of unit test: test Plan: Complete unit test plan;· Test design: Complete unit test plan;· Test implementation: Complete unit test Cases, Unit test procedures, unit test scripts and data files;· Test execution: Execute unit Test cases, modify discovered problems and perform regression tests, and submit unit test reports.Three: In
8. Check code updates and compileYou can set the timer check compile function by poll SCM.For example, */5 * * * * is checked every 5 minutes, if there is an update in the Git repository, the build operation is performed.9. Speed up download with mavenSee: http://blog.csdn.net/sheismylife/article/details/7209722Jenkins '. M2 directory path in:/var/lib/jenkins/.m2/Clear all Jar packages First, then create the settings.xml file and edit the following:No
?
As mentioned above, we may encounter the following problems in separate tests:
If you write a test, you have to run all the tests to check whether the entire system is correct. Therefore, each wait time is very long;
If other members of the team have changed the function and submitted the function, how can they quickly get feedback on whether the current system code is correct or failed;
What should we do? Automated continuous integration (CI )!
One, download and install (MSI)https://jenkins.io/download/thank-you-downloading-windows-installer-stable/During the installation process, you need to copy-paste the initial installation password from the password file (typically in C:\Jenkins\secrets\initialAdminPassword), similar to the followingD0B4E7E1ADC144D5B7FDA3D53B8ECF2B,This is admin password.Second, install the following plug-inIn addition to the default plug-ins, add the following plugins:
System settings are primarily used to configure some global settings paths, such as1 JDK2 Ant3 Maven4 Mailetc....Click "System Management" in the Jenkins left menu and click "System Settings" on the System administration page to enter the system settings.1 JDKClick on the "JDK" Install buttonUncheck "Auto Install"Fill in aliases and java_home2 AntSimilar JDK configuration3 MavenSimilar JDK configurationNote1 with MAVEN configuration You can also spec
This article is divided into two parts, the first part explains how Jenkins replaces Windows scheduled tasks, timed execution of automated scripts, and the second explains that Jenkins automatically pulls the latest code from the SVN server (called Automatic checkout) each time it is built.Objective1. There are test files in the local code base directory F:\5i5jautest all_tests.py2. SVN address Svn://192.16
------------------Build------------------------docker-compose -f ./docker-compose.ci.build.yml -p dockercompose4255153253317384266 up --buildecho ---------------Publishing...------------------docker-compose -f "./docker-compose.yml" -f "./docker-compose.override.yml" -p dockercompose4255153253317384266 up -d --buildThe app is saved and returned to the project interface. Click Build now to deploy your workWe can view the console output:Reference article:Http://www.cnblogs.com/LongJiangXie/p/751
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.