해표
HapyoLab
해표
전체 방문자
오늘
어제
  • 분류 전체보기 (83)
    • IT (53)
    • 자전거 여행 (14)
    • DevOps (8)
    • Cloud (1)
    • OS (0)
    • Android (0)
    • Programming (0)

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
해표

HapyoLab

DevOps

Jenkins java.io.NotserializableException: groovy.lang.IntRange

2020. 10. 20. 14:05

젠킨스에서 for loop 사용시 for (idx in 0..max) <- 이와 같은 문법 사용시 java.io.NotserializableException:groovy.lang.IntRange 에러가 발생한다. 이는 직렬화가 불가능한 반복문법을 사용해서 그런 경우인데 C-style loop i.e for(int i=0; i<max; i++) 로 대체해서 사용하면 에러를 피할수 있다.

https://www.jenkins.io/blog/2017/02/01/pipeline-scalability-best-practice/




    'DevOps' 카테고리의 다른 글
    • Jenkins Github Webhook 연동
    • jenkins Warning: A secret was passed to “sh” using Groovy String interpolation..
    • Jenkins에서 배치파일 리턴받기(커맨드 제거)
    • Ansible ant heap space 메모리 세팅
    해표
    해표

    티스토리툴바