From 890c478f51c11b0a51926e04157540a1417d919b Mon Sep 17 00:00:00 2001 From: idvylyuk Date: Tue, 26 Nov 2024 14:37:30 +0200 Subject: [PATCH] build: added Jenkinsfile --- Jenkinsfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Jenkinsfile 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