Description of problem
Removed the corresponding Jenkins job returned when delete pipeline build in openshift
Version-Release number of selected component (if applicable):
brew-pulp-xxxxxx/openshift3/jenkins-2-rhel7 v3.10 ac1e304de673
sync plugin v1.0.14
Steps to Reproduce:
1. Create pipeline bc and other resources
2. Start a pipeline build and wait build to running
3. Delete pipeline build in openshift
$oc delete build sample-pipeline-1
4. Check the The corresponding Jenkins job in jenkins webconsole, job 1 is deleted
5. Start 2 pipeline build and wait sample-pipeline-2 to running ,and sample-pipeline-3 is new
sample-pipeline-2 JenkinsPipeline Running 13
sample-pipeline-3 JenkinsPipeline New
6. Delete above 2 build in openshift
$oc delete build sample-pipeline-3
$oc delete build sample-pipeline-2
7. Check the The corresponding Jenkins job in jenkins webconsole
a. other corresponding job is deleted,
b. but job 1 related to build sample-pipeline-1 returned, and console output display:
No such file: /var/lib/jenkins/jobs/wang/jobs/wang-sample-pipeline/builds/1/log
c. and a few minute disappeared.
deleted job returned
deleted job cannot be returned
It sounds like the actual job did not return, just a link was still cached in the view and was showing. Can you specify what part of the console the link appeared in?
in "build history" of the project xxx/xxxx-sample-pipeline in the console
Corey bump, this is a 3.10 blocker.
Ben, looking at it now.
wewang Was this using the persistent or ephemeral jenkins? I am not able to recreate the issue. Can you try refreshing the page manually?
@ Corey Daley I just use template:https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.yaml to create jenkins resources, yes refreshed page manually , but still exists
Created attachment 1430562 [details]
jenkins job page
I tested it again today, and upload an attachment, pls check it ,thanks
wewang, could you please upload a screenshot of where you are seeing the link to that job?
the link is https://jenkins-wewang.apps.xxxx-hwy.qe.rhcloud.com/job/wewang/job/wewang-sample-pipeline/3/console
Could you please upload a screenshot of the page where you are actually seeing the link to the job that you are clicking on in Jenkins? If you are just refreshing the page for the job and it is saying the job doesn't exist, that is the expected behavior.
as step 7 in c part in comment 1, no matter refresh or not, it'll disappeared a few minutes, maybe it can be accepted, since it will not have build log storage in Jenkins. will close the bug.