문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
ci:jenkins:agent [2022/01/05 18:30] kwon37xi |
ci:jenkins:agent [2022/05/30 23:19] (현재) kwon37xi |
||
---|---|---|---|
줄 16: | 줄 16: | ||
* [[https:// | * [[https:// | ||
- | ===== AWS Fargate | + | ===== docker images |
* [[aws: | * [[aws: | ||
- | | + | |
- | * [[https://plugins.jenkins.io/amazon-ecs/|Amazon Elastic Container Service (ECS) / Fargate | + | * [[https://hub.docker.com/r/jenkins/ |
- | * [[https://www.jenkins.io/doc/pipeline/ | + | * [[https://github.com/jenkinsci/docker-agent|jenkinsci/docker-agent: |
- | * [[https://www.youtube.com/watch? | + | * username : '' |
- | * [[https://aws.amazon.com/ko/blogs/ | + | * [[https://hub.docker.com/r/ |
- | * [[https://github.com/aws-samples/serverless-jenkins-on-aws-fargate/ | + | * [[https://github.com/jenkinsci/docker-inbound-agent|jenkinsci/ |
- | * [[https:// | + | * [[https://hub.docker.com/r/jenkins/ssh-agent|jenkins/ssh-agent - Docker Image | Docker Hub]] |
+ | * [[https:// | ||
===== kubernetes / k8s ===== | ===== kubernetes / k8s ===== | ||
* [[: | * [[: | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ===== Windows ===== | ||
+ | * on [[: | ||
+ | * [[https:// | ||
+ | |||
+ | ===== stash / unstash ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * 특정 agent 에서 '' | ||
+ | * [[https:// | ||
+ | |||
+ | <code groovy> | ||
+ | pipeline { | ||
+ | agent none | ||
+ | |||
+ | stages { | ||
+ | stage(' | ||
+ | agent { label ' | ||
+ | steps { | ||
+ | sh ''' | ||
+ | touch file.txt | ||
+ | mkdir -p target | ||
+ | touch target/ | ||
+ | touch target/ | ||
+ | tree | ||
+ | ''' | ||
+ | stash(name: ' | ||
+ | } | ||
+ | } | ||
+ | stage(' | ||
+ | agent { label ' | ||
+ | steps { | ||
+ | unstash ' | ||
+ | sh ' | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
===== 참조 ===== | ===== 참조 ===== | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// |