Closed JohnNiang closed 2 years ago
Recently, I encountered that my pending or running PipelineRuns disappeared suddenly, even in Jenkins. So I guess it may be GCed by cronjob-gc. I will show the evidence up below.
pipeline { agent any stages { stage('Greet') { steps { sh 'echo "Hello, Jenkins!" && ping bing.com' } } } }
Run
kubectl -n kubesphere-devops-system create job gc-test-job --from=cronjob/devops
/kind bug
/assign
Incorrect GC strategy? Or just a bug of it. It's different. Please give the details if you believe the strategy is incorrect.
What's the problem?
Recently, I encountered that my pending or running PipelineRuns disappeared suddenly, even in Jenkins. So I guess it may be GCed by cronjob-gc. I will show the evidence up below.
Steps to reproduce
Run
button to run the Pipeline/kind bug