Files
Testing/Jenkinsfile
T
2026-05-02 02:54:58 +03:00

30 lines
614 B
Groovy

pipeline {
agent none
stages {
stage('Build Linux') {
agent { label 'linux' }
steps {
sh '''
cmake -S . -B build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build/linux
'''
}
}
stage('Check Windows Agent') {
agent { label 'windows' }
steps {
bat '''
echo Windows agent works
hostname
where cl
where cmake
where ninja
where git
java -version
'''
}
}
}
}