java-tutorials/jenkins-modules/jenkins-jobs/zombie-job/pipeline-zombie-job

16 lines
327 B
Plaintext

pipeline {
agent any
stages {
stage('Infinite Loop') {
steps {
script {
while (true) {
println 'This is an infinite loop!'
Thread.sleep(10000)
}
}
}
}
}
}