• Git
    • Repository
      • Repository URL
        • git의 URL
      • Credentials
        • private인 git일 경우 git 아이디 설정을 넣는다.
      • Branches to build
        • 브렌치 명
        • ex) */master

  • Build Triggers
    • Build periodically → cron job
      • commit 이력이 없어도 다시 빌드.
    • Poll SCM → cron job
      • commit 이력이 없으면 빌드하지 않음.

  • Pre Steps
    • 빌드 전에 시행 할 내용

  • Build
    • Root POM
      • ex) pom.xml
    • Goals and options
      • 시행 하려는 내용
        • ex) clean compile package : target 폴더를 비우고 컴파일 후 패키징

  • 빌드 후 조치
    • Deploy war/ear to a container
      • WAR/EAR files
        • Deploy 하려는 war, ear 파일 명
        • ex) **/*.war
    • Containers
      • Credentials
        • tomcat 설정에 의거한 권한 아이디 입력

            • %TOMCAT_HOME%/conf/tomcat-users.xml
          <user username="admin" password="admin" roles="manager-gui, manager-script, manager-jmx, manager-status"/>
          <user username="deployer" password="deployer" roles="manager-script"/>
          <user username="tomcat" password="tomcat" roles="manager-gui"/>
          
          • admin / admin
            • roles = “manager-gui, manager-script, manager-jmx, manager-status”
          • deployer / deployer
            • roles = “manager-script”
          • tomcat / tomcat
            • roles = “manager-gui”
      • Tomcat URL
    • Send build artifacts over SSH
      • SSH Publishers
        • SSH Server Name
          • jenkins 설정에서 만든 SSH 서버 설정