File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ services:
2525 - android
2626 - multi
2727 - golang
28+ - dotnet
2829 - default
2930 # This service depends on the sidekick_service (generating SSH keys and JCasc token) completing successfully.
3031 depends_on :
@@ -222,6 +223,25 @@ services:
222223 retries : 5
223224 volumes :
224225 - agent-ssh-dir:/home/jenkins/.ssh:ro
226+ dotnet :
227+ build : dockerfiles/dotnet/.
228+ container_name : desktop-jenkins_agent-1-dotnet
229+ profiles :
230+ - dotnet
231+ depends_on :
232+ sidekick_service :
233+ condition : service_completed_successfully
234+ jenkins_controller :
235+ condition : service_started
236+ ports :
237+ - " 5000:5000"
238+ healthcheck :
239+ test : ["CMD-SHELL", "[ -f /home/jenkins/.ssh/authorized_keys ] || exit 1"]
240+ interval : 5s
241+ timeout : 10s
242+ retries : 5
243+ volumes :
244+ - agent-ssh-dir:/home/jenkins/.ssh:ro
225245volumes :
226246 jenkins_home : null
227247 agent-ssh-dir :
You can’t perform that action at this time.
0 commit comments