From e80aa553759fda315cfe8d561175c417392987df Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Thu, 12 Dec 2024 00:43:02 +0200 Subject: [PATCH] add Jenkinsfile for automated testing --- Jenkinsfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..0f98c1d --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,23 @@ +pipeline { + agent any + + stages { + stage('Checkout') { + steps { + git url: 'http://10.1.1.1:3000/hasslesstech/shmuliar-sp-kr-lab4.git' + } + } + + stage('Build') { + steps { + sh 'make -j$(nproc) test' + } + } + + stage('Test') { + steps { + sh './tester' + } + } + } +}