Passwd

  • 홈
  • 태그
  • 글쓰기
  • 관리

2024/08/07 1

[Jenkins] RejectedAccessException - Scripts not permitted to use 해결

현상업무 중 Groovy 코드를 테스트하고 싶은 일이 생겼는데, Java Spring 기반 프로젝트라 단순 print 확인을 위한 프로젝트 세팅을 하기가 좀 번거로운 상황이다. 좀 간편하게 테스트할 방법을 생각해 보다가 Jenkins 파이프라인에서 Groovy 스크립트를 실행할 수 있는 것이 생각나 다음과 같은 코드로 시도해 보았는데……import org.springframework.http.HttpHeadersimport org.springframework.http.MediaTypeimport java.nio.charset.CharsetCONTENT_TYPE = "application/json;charset=utf-8"HttpHeaders headers_1 = new HttpHeaders()header..

Jenkins 2024.08.07
1
더보기
프로필사진

아무튼 개발자. 모르는 걸 적습니다.

  • 분류 전체보기 N
    • 자료구조
    • Algorithm
      • 모두의 알고리즘 with Python
      • 문제 풀이
    • Apache Airflow
      • 문제 해결
    • Apache Nifi
    • Apache Superset
    • AWS
    • Azure
    • Database N
    • Docker
    • Git | GitLab
    • Grafana
    • Hadoop EcoSystem
    • R
    • Java
    • Jenkins
    • Kubernetes
      • 문제 해결
      • Udemy - CKAD with Tests
      • KoudKloud - CKAD with Tests
    • Python N
      • NumPy | Pandas
    • Linux
      • Shell Script
    • Snowflake
    • Trino
    • 기타
      • Python → Webhook
      • Redmine on AWS
    • Windows

최근글

인기글

공지사항

Archives

Tag

k8s, 티스토리챌린지, airflow, AWS, superset, Linux, BOJ, gitlab, 오블완, Trino, python, 프로그래머스, Azure, mysql, jenkins, SH, awscli, pandas, Docker, Git,

Calendar

«   2024/08   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
250x250

Copyright © Kakao Corp. All rights reserved.

  • 알고리즘

티스토리툴바