"Archive the Artifacts", "Editable Email Notification"When the above procedure is complete, click "Save".Left navigation bar, select "New Task", then enter a task name, customize, select the first item "Build a free-flavor software project", click OK.GeneralSource ManagementBuilding triggersBuild your environmentBuildProject name note here that the name of the MAVEN project that was just built is here, and the war package to invoke build good project code is published to the remote server for d
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
"Echo Jenkins CI", save, it is OK.Finally, the message needs to be sent automatically after the script completes. Let's see how it's configured:Before configuring mail notifications, we need to set up the basic configuration of the mail system in "Configure system".First, fill in the Jenkins Access address and the sender's email address.Next, set up the SMTP mail server and some default values, including receiving objects, topics, content, and so on. So, the simplest mail-sending configuration
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:After adding the build steps, Save as:Build again
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.