diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..0995e26c --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,30 @@ +pipeline { + agent any + + stages { + stage('one') { + steps { + echo 'Step 01' + sleep 3 + } + } + stage('two') { + steps { + echo 'Step 02' + sleep 9 + } + } + stage('three') { + steps { + echo 'Step 03' + sleep 5 + } + } + } + post{ + always { + echo "This pipeline is completed" + } + } +} + diff --git a/README.md b/README.md index b8ad8a94..e55820ca 100644 --- a/README.md +++ b/README.md @@ -58,3 +58,5 @@ Note ---- The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client. + +making simple change to check branch protection in action. \ No newline at end of file diff --git a/testFile b/testFile new file mode 100644 index 00000000..1056d0ea --- /dev/null +++ b/testFile @@ -0,0 +1 @@ +test file for triggering build.