본문 바로가기 메뉴 바로가기

Jacob Baek's home

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Jacob Baek's home

검색하기 폼
  • all (216)
    • private (3)
      • diary (0)
      • graduateschool (3)
      • important thing (0)
      • my project (0)
      • study (0)
    • Cloud (81)
      • Private Cloud (35)
      • Public Cloud (1)
      • Cloud Native (16)
      • Architecture&Tech (2)
      • Kubernetes (27)
    • Security (11)
      • programming (0)
      • Architecture&Tech (3)
      • System&Tools (4)
      • Cloud Native (3)
    • DevOps (27)
      • System&Tools (27)
      • Architecture&Tech (0)
    • Network (6)
      • System&Tools (5)
      • Architecture&Tech (1)
    • Storage (5)
      • Architecture&Tech (1)
      • System&Tools (4)
    • os (26)
      • Linux (24)
      • Windows (2)
      • Embedded&Mobile&Etcs (0)
    • programming (17)
      • python (1)
      • c/c++ (1)
      • Java (1)
      • kernel (0)
      • Scripts (5)
      • devtools (2)
      • protocol (1)
      • common (1)
      • sw engineering (1)
      • Web Programming (0)
      • etc (4)
    • Server (16)
      • SystemMGAuto (0)
      • WebServer (6)
      • VirtualServer (1)
      • EtcServer (9)
    • quailty assurance (4)
      • Theory (1)
      • System & Tools (3)
    • ITtech (2)
    • database (0)
    • language (0)
    • Trips (0)
    • music (0)
    • etc (2)
  • 방명록

Jenkinsfile (3)
Use ssh with jenkinsfile as scripted pipeline

ssh 명령을 jenkins 상에서 사용할일이 다수 있는 상황에서 ssh 를 pipeline을 통해 어떻게 사용할수 있는지에 대하여 알아보도록 하자. ssh plugin을 사용하기 위해서는 다음과 같은 plugin 설치가 필요하다. (이름은 ssh pipeline steps로 검색된다.) https://plugins.jenkins.io/ssh-steps plugin 설치가 완료된후 ssh key를 등록한다. 배포되어질 서버에 ssh key를 ssh-copy-id 명령을 이용하던지 아니면 기존에 가지고 있던 key파일이 있다면 해당 파일을 이용하여 등록한다. 개인적으로 Passphrase(비밀번호)를 지정하지 않았기에 Passpharse는 빈칸으로 생성하였다. 이후 생성된 credential(ID : ec..

DevOps/System&Tools 2019. 12. 11. 10:04
Jenkinsfile example using ssh and scp

gradle로 빌드 가능한 application을 ec2 instance 내 tomcat webapps directory에 복사하는 과정을 Jenkinsfile로 생성한 내용을 간단히 정리해보았다. 환경 Git repository로 Bitbucket Server 사용 Jenkins 2.235.1 EC2 instance 상에 tomcat으로 Application 동작 사전 준비 사전에 credential 두개를 Jenkins 상에서 생성한다. jacobbaek : bitbucket에서의 credential ("username and password" type으로 credential 생성) ec2-user-credential : ec2 instance에 로그인할 ec2-user의 ("ssh username ..

DevOps/System&Tools 2019. 11. 25. 11:30
Jenkinsfile validator

Jenkinsfile을 수정해보았으나 간혹 syntax error가 발생될수 있다. 이때 마다 수정하고 code push후 이를 테스트 해보기란 여간 번거로운 일이 아닐수 없다. 하여 간단하게 plugin 혹은 built-in validator를 사용하여 검증하는 방법을 알아보도록 하자. validator vscode plugin 아래 plugin 을 설치하고 사용할수 있다. https://marketplace.visualstudio.com/items?itemName=janjoerke.jenkins-pipeline-linter-connector plugin이 설치되면 ctrl + shift + p 입력하여 validate pipeline 을 실행해볼수 있다. validate Jenkinsfile을 선택하..

DevOps/System&Tools 2019. 11. 20. 13:01
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
  • Postee
  • kubent(no trouble)
  • Kata Container on AKS
  • Vertical Pods Autoscaler
최근에 달린 댓글
  • 감사합니다 부족한 질문이었지만 정말 좋은 답변 감사드립⋯
  • 안녕하세요. 먼저 질문주신 내용을 제가 이해하기론 두가⋯
  • 안녕하세요 ㅎㅎ 구글에서 돌고 돌다가 선생님의 블로그까⋯
Total
141,310
Today
7
Yesterday
193
링크
  • Cyuu
TAG
  • K3S
  • Terraform
  • ConEmu
  • vmware openstack
  • ansible
  • galera
  • wsl2
  • kata container
  • kubernetes install
  • boundary ssh
  • elasticsearch
  • crashloopbackoff
  • hashicorp boundary
  • Jenkinsfile
  • jenkins
  • metallb
  • OpenStack
  • openstack backup
  • Helm Chart
  • minikube
  • nginx-ingress
  • kubernetes
  • macvlan
  • ceph
  • minio
  • DevSecOps
  • aquasecurity
  • openstacksdk
  • socket
  • mattermost
more
«   2023/03   »
일 월 화 수 목 금 토
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
글 보관함
  • 2023/03 (3)
  • 2023/02 (4)
  • 2023/01 (1)
  • 2022/12 (2)
  • 2022/08 (2)

Blog is powered by Tistory / Designed by Tistory

티스토리툴바