add Jenkinsfile for automated testing

This commit is contained in:
ІО-23 Шмуляр Олег 2024-12-12 00:43:02 +02:00
parent 627d7b89b7
commit e80aa55375
1 changed files with 23 additions and 0 deletions

23
Jenkinsfile vendored Normal file
View File

@ -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'
}
}
}
}