22 lines
552 B
Groovy
22 lines
552 B
Groovy
pipeline {
|
|
agent any
|
|
parameters {
|
|
booleanParam(defaultValue: true, description: '', name: 'flag')
|
|
// TODO: Be prepared to change this to "stringParam" once we're on a new enough core.
|
|
string(defaultValue: '', description: '', name: 'SOME_STRING')
|
|
}
|
|
triggers {
|
|
cron('@daily')
|
|
}
|
|
options {
|
|
buildDiscarder(logRotator(numToKeepStr:'1'))
|
|
disableConcurrentBuilds()
|
|
}
|
|
stages {
|
|
stage("foo") {
|
|
steps {
|
|
echo "hello"
|
|
}
|
|
}
|
|
}
|
|
} |