1 Building Pipelines in Jenkins
1 Building Pipelines in Jenkins
In Jenkins
This section will guide you to:
● Go to Jenkins dashboard.
● Click Save.
● Go to Jenkins dashboard.
● Scroll down to the Pipeline section and enter the script below:
pipeline {
agent any
stages {
stage('First Stage') {
steps {
echo 'Hello World'
}
}
stage('Second Stage') {
steps {
echo 'Hello Again'
echo 'A third time Hello'
}
}
}
}
● Click Build Now in the project window to make sure that the build works. Jenkins will
now build your project.
● Click on the Build History to view the build results.