Files
Testing/Jenkinsfile
T
2026-05-01 21:08:02 +03:00

32 lines
556 B
Groovy

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