diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..050841ba3 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,34 @@ +pipeline{ + agent{ + label "ubuntu-agent" + } + stages{ + stage("A"){ + steps{ + sh "printenv" + } + post{ + always{ + echo "========always========" + } + success{ + echo "========A executed successfully========" + } + failure{ + echo "========A execution failed========" + } + } + } + } + post{ + always{ + echo "========always========" + } + success{ + echo "========pipeline executed successfully ========" + } + failure{ + echo "========pipeline execution failed========" + } + } +} \ No newline at end of file