diff --git a/jenkinsfile b/jenkinsfile new file mode 100644 index 0000000..08d4dd3 --- /dev/null +++ b/jenkinsfile @@ -0,0 +1,21 @@ +pipeline { + agent any + + stages { + stage('Build & Test') { + steps { + checkout scm + sh 'echo Building...' + sh 'echo Testing...' + } + } + stage('Deploy') { + when { + branch 'main' + } + steps { + sh 'echo Deploying from main' + } + } + } +}