In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "how to configure Jenkins's Invoke Phing targets plug-in". The editor shows you the operation process through an actual case. The method of operation is simple, fast and practical. I hope this article "how to configure Jenkins's Invoke Phing targets plug-in" can help you solve the problem.
The Invoke Phing targets plug-in mainly reads configuration files in the form of xml, including automated test packaging and deployment, and then steps down according to the process. Use the phing command to read and execute the xml configuration file, and then perform the defined steps. Such as check, tar, phpunit operations.
This article uses the function of tar to introduce the Invoke Phing targets plug-in, and by the way, it also introduces the application of tar, a general function, in our daily automated build.
First, install plug-ins
1. Find the installation from "system Management" to "plug-in Management" to "optional plug-ins".
2. Configure xml including server
1. Build.xml (placed under the root directory of the project)
Include represents packaged included files, and excluded files can be tagged with exclude. Include must be placed behind all exclude. All files are represented by "*", and the folder should also indicate the following files, such as "test/**".
Define the tar action.
2. Console configuration.
Add build steps
Configuration properties (here is an example of configuring a tar operation)
Third, build immediately
Click "build now", and the dist directory with the build.xml definition and the package file with the name defined by build.xml can be generated at the root of the working copy directory.
This is the end of the content about "how to configure the Invoke Phing targets plug-in for Jenkins". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.