.JENKINSFILE 文件扩展名
Jenkins Pipeline Definition
| 开发者 | Jenkins |
| 受欢迎程度 |
3.0 | 1 票 |
什么是 JENKINSFILE 文件?
A JENKINSFILE is a plain text file that defines a Jenkins Pipeline. It contains declarations written in the Apache Groovy programming language. Developers creating Pipeline projects must always create a JENKINSFILE and store it in their project's source control repository.
更多信息
Jenkins is an open-source automation server that developers use to automate the building, testing, and delivery of software. Jenkins Pipeline is a suite of Jenkins plug-ins that allows developers to create continuous delivery pipelines (called Jenkins Pipelines) into Jenkins. This allows developers to quickly build, test, and deliver updates to software deployed through Jenkins.
When creating a Jenkins Pipeline, developers must create a text file that defines the Pipeline's stage's (e.g., Build, Test, and Deploy) and associated settings. This Pipeline definition is called a JENKINSFILE, and its filename is always .jenkinsfile.
Developers can use Jenkins, the program's Blue Ocean plug-in, or any source code editor to create and edit their JENKINSFILE. Most often, developers use Blue Ocean to create a JENKINSFILE, as part of setting up a new Jenkins Pipeline project.
常见 .JENKINSFILE 文件名
.jenkinsfile - The name developers must assign to their Jenkins Pipeline's JENKINSFILE.
如何打开 JENKINSFILE 文件
You can open a JENKINSFILE with Microsoft Visual Studio Code or any other text editor, to view and edit the Jenkins Pipeline definition it contains. If possible, you should open a JENKINSFILE with a source code editor that supports Apache Groovy syntax highlighting.
For instructions on how to use a JENKINSFILE with Jenkins Pipeline, refer to Jenkins' official documentation.
