Jenkins Job disappeared after restart

后端 未结 2 373
一生所求
一生所求 2021-01-18 01:44

I have this strange problem in Jenkins 1.5.31 .

I had configured Maven jobs which I still see in Jenkins_Home directory. My Jenkins Windows service was not getting s

2条回答
  •  孤城傲影
    2021-01-18 02:24

    This happened to me too after a restart. But it was not because of errors in the config.xml, but because another containing folder with the same name but in different case existed on the server.

    I don't know how this happened, but after copying over the jobs from the second folder and reloading the folder the job came back up again.

    For e.g: the job that went missing was FOLDER-NAME/jobs/job-name

    On the Jenkins server, on disk, there was both

    FOLDER-NAME/jobs/job-name

    folder-name/jobs/job-name

    After copying the folder FOLDER-NAME/jobs/job-name to folder-name/jobs/ and reloading the folder (https:///jobs/FOLDER-NAME/reload) the job came back up.

提交回复
热议问题