Jenkinsfile
A Jenkinsfile is a text file that defines the entire pipeline of a Jenkins job or build
process. It allows you to define the various stages, their order, and the actions or
steps to be executed within each stage. A sample Jenkins file content is as follows:
pipeline {
agent any
stages {
stage('Build') {
steps {
//
}
}
stage('Test') {
steps {
//
}
}
stage('Deploy') {
steps {
//
}
}
}
}