From 572adb692fcb2d0ab49599a0923acc3caf0ea9c2 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Tue, 24 Oct 2023 14:03:53 +0200 Subject: [PATCH] Add Jenkinsfile --- Jenkinsfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..9a69922 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline { + agent { docker { image 'python:3.10.10' } } + stages { + stage('build') { + steps { + sh 'pip install -r requirements.txt' + } + } + stage('test') { + steps { + sh 'flake baseline.py' + } + } + stage('run') { + steps { + sh 'run.sh' + } + } + } +} \ No newline at end of file