Build Configuration 예시

sooni·2023년 3월 20일
0

CI/CD

목록 보기
4/5

Node.js

Node.js 관련 프로젝트 > Dokcer 필요

project 1

Build Steps

#1. build

  • Working directory: front
  • Shell script:
  rm -rf node_modules
  npm cache verify
  npm i @vue/cli-service
  npm install --production
  npm run build
  • Run step within Docker container: node:12.22.7
  • Docker image platform: Linux
  • Pull image explicitly: 체크박스 체크

Maven

Maven project 관련 프로젝트

project 1

Build Steps

#1. package

  • Goals: pakage
  • Additional Maven command line parameters: -Dmaven.test.skip=true
  • User settings selection: 회사에서 사용하는 settings.xml 파일 (Manage settings files에서 추가 가능)
  • JDK: 원하는 Java version 변경 가능

#2. make bhp file

  • Working directory: build/scripts
  • Custom script: 원하는 스크립트 작성

Parameters

공통적인 파라미터 환경변수 설정 가능 (Environment Variables (env.))

Ant

Ant 관련 프로젝트

project 1

Build Steps

#1. ant

  • Path to a build.xml file: build.xml
  • Targets: war

project 2

#1. ant-package

  • Path to a build.xml file: build.xml
  • Targets: package

0개의 댓글