Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pipeline {
agent any // This tells Jenkins to run the pipeline on any available agents

stages {
stage('Hello') {
steps {
// Print a message to the console
echo 'Hello World from Pipeline Job!'
echo "The current Jenkins Job Name is: ${env.JOB_NAME}"
// Execute a shell command
sh 'echo "This is a shell command within the pipeline."'
} // CLOSING BRACE for steps
} // CLOSING BRACE for stage('Hello')
} // CLOSING BRACE for stages
} // CLOSING BRACE for pipeline