폴더 생성 후 pipeline으로 신규 아이템 생성
제너럴의 설명은 파이프라인 상단에 출력되는 텍스트
기본 옵션은 Do not allow concurrent builds, old build delete(오래 된 빌드 삭제) 만 진행 했고 보관 갯수 등을
설정한다.
“이 빌드는 매개변수가 있습니다”
체크박스를 선택하여 일종의 환경변수를 스태틱하게 관리했다
string parameter로 배포할 서버 아이피, 빌드 패스, Git 경로, Git repo url, Git Tag.,
git parameter로 branch, gitRollbackTag등을 관리했다
pipeline definition에는
pipeline script from SCM를 선택하고
SCM은 GIT, repo url은 https://~repo url 일체, credentials는 폴더에서 관리하는 username with password로 처리함
branches to build는 */빌드할브랜치
repository browser는
gitlab
URL은 gitlab 기본 url https://깃랩서버
version은 설정된 버전
script path는 groovy 파일이 등록된 git path
./이하git내부경로로
설정하고 빌드시 작동할 스크립트는 git repo에서 형상관리한다