From b779817f2c06d84d38c4acddd60cf4c7714d130e Mon Sep 17 00:00:00 2001 From: kholmes Date: Sat, 24 Oct 2026 01:18:17 +0000 Subject: [PATCH] Added Jenkinsfile for build automation --- Jenkinsfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..538f733 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,27 @@ +pipeline { + agent any + + options { + skipDefaultCheckout() + } + + stages { + stage('Checkout') { + steps { + checkout scm + } + } + + stage('Syntax check') { + steps { + sh 'python3 -m py_compile pricing.py' + } + } + + stage('Test') { + steps { + sh 'python3 -m unittest discover -s tests -v' + } + } + } +} \ No newline at end of file