Add Jenkins pipeline

This commit is contained in:
2026-05-01 21:08:02 +03:00
parent af4c37ef29
commit 3c40a725b0
Vendored
+31
View File
@@ -0,0 +1,31 @@
```groovy
pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build') {
steps {
sh '''
echo "Building project..."
mkdir -p build
g++ main.cpp -o build/test_app
'''
}
}
stage('Run') {
steps {
sh '''
./build/test_app
'''
}
}
}
}
```