반응형



1. JENKINS_HOME 디렉토리 값이 제대로 설정되어 있는지 확인할 것

 

2. jobs들이 저장되어있는 곳을 찾을 것. 찾아서 교체할 것
https://stackoverflow.com/questions/20758905/jenkins-job-disappeared-after-restart

3. 한번 더 시도하면 잘 될때가 있음.
https://community.jenkins.io/t/question-about-updating-jenkins-all-my-jobs-and-info-disappeared/4094/3

<출처>


4. Reloading configuration from disk 해보기
https://stackoverflow.com/questions/58992958/jenkins-jobs-disappeared-from-gui-but-are-still-present-on-the-disk

5. folder 플러그인을 삭제했는지 확인해보기

 

6. config.xml 수정하기

Since the jobs are just config.xml files - create a new job in a folder and compare the config.xml - if this shows nothing strange - try copying the zombie config.xml over the newly created config.xml (note that you will need to reload config from disk to get jenkins to pick up your change) – 
Stefan Drissen
 Nov 22, 2019 at 12:47
Thanks for the idea. indeed, config.xml files are missing for the missing jobs.. I assume that the backup is the only solution now. I don't understand what happened. – 
Anakin001
 Nov 22, 2019 at 13:00
<https://stackoverflow.com/questions/58992958/jenkins-jobs-disappeared-from-gui-but-are-still-present-on-the-disk>

 

7.  export JENKINS_HOME=/app/jenkins

https://stackoverflow.com/questions/27931887/jenkins-not-showing-jobs-after-restart

 

8. docker volume에서 데이터가 존재하는지 확인할 것

https://stackoverflow.com/questions/39970891/could-not-find-jenkins-home-folder-in-ubuntu-after-downloading-the-docker-jenkin

 

참고자료

구글 검색 키워드:
1) jenkins all jobs gone

 

반응형