26 lines
288 B
Groovy
26 lines
288 B
Groovy
pipeline {
|
|
agent none
|
|
|
|
options {
|
|
// Only keep the 1 most recent builds
|
|
buildDiscarder(logRotator(numToKeepStr: "1"))
|
|
}
|
|
|
|
|
|
stages {
|
|
|
|
stage("Build")
|
|
{
|
|
agent {
|
|
label 'c++'
|
|
}
|
|
|
|
steps {
|
|
echo "build"
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|