hyelie
hyelie
Hyeil Jeong
       
글쓰기    관리    수식입력
  • 전체보기 (495)
    • PS (283)
      • Algorithm (28)
      • PS Log (244)
      • Contest (6)
      • Tips (5)
    • Development (52)
      • Java (14)
      • Spring (23)
      • SQL (2)
      • Node.js (2)
      • Socket.io (3)
      • Study (4)
      • Utils (4)
    • DevOps (36)
      • Git (5)
      • Docker (4)
      • Kubernetes (2)
      • GCP (3)
      • Environment Set Up (8)
      • Tutorial (12)
      • Figma (2)
    • CS (74)
      • OOP (7)
      • OS (24)
      • DB (2)
      • Network (24)
      • Architecture (0)
      • Security (2)
      • Software Design (0)
      • Parallel Computing (15)
    • Project (15)
      • Project N2T (5)
      • Project ASG (0)
      • Project Meerkat (1)
      • Model Checking (7)
      • Ideas (2)
    • 내가 하고싶은 것! (34)
      • Plan (16)
      • Software Maestro (10)
      • 취준 (8)
hELLO · Designed By 정상우.
hyelie

hyelie

DevOps/Environment Set Up

[Troubleshooting] Jenkins 잘 되던 build가 안 될 때

잘 되었던 build가 안되는 경우가 생겼다.

 

코드는 변함없는데.

 

그래서 이것저것 해보다가 용량 부족임을 알게 되었다. 쌓인 image, build log를 지우고 gcr에도 쌓인 image를 삭제하니 잘 된다.

 

        stage('Docker unused image remove'){
            steps{
                script{
                    sh 'docker image prune -a'
                }
            }
        }

 

-a 옵션은 사용되지 않는 모든 image 삭제이다. build server에서는 실행중인 jenkins, mysql, sonar-qube 이외의 image는 사용되지 않기 때문에 모든 image를 삭제하게 했다.

'DevOps > Environment Set Up' 카테고리의 다른 글

[React Native Tutorial] React Native + Expo + Android Emulator on Windows (feat. GCP)  (0) 2022.09.28
[GCP Tutorial] Windows RDP through WEB using guacamole + code-server (feat. GCP)  (0) 2022.09.27
[Node.js Tutorial] Install NVM & typescript-express-starter on Ubuntu  (0) 2022.09.20
[GCP Tutorial] RDP through HTTPs connection using guacamole (feat. GCP)  (0) 2022.09.04
[Java Tutorial] Ubuntu Java 개발환경 세팅  (0) 2022.08.17
    hyelie
    hyelie

    티스토리툴바