Fix: Correct Jenkins URLs for sandbox nodes
[ci-management.git] / jenkins-config / clouds / nomad / FDIONOMAD / builder-ubuntu2004-sandbox-x86_64-jobtemplate.yaml
1 ---
2 Job:
3   Contstraints:
4     - LTarget: ^${attr.cpu.arch}
5       Operand: =
6       RTarget: amd64
7     - LTarget: ^${node.class}
8       Operand: =
9       RTarget: builder
10   TaskGroups:
11     - Name: jenkins-worker-taskgroup
12       Tasks:
13         - Name: jenkins-worker
14           Config:
15             args:
16               - -cp
17               - /local/slave.jar
18               - hudson.remoting.jnlp.Main
19               - -headless
20               - -url
21               - https://jenkins.fd.io/sandbox
22               - -workDir
23               - /w/
24               - '%WORKER_SECRET%'
25               - '%WORKER_NAME%'
26             image: fdiotools/builder-ubuntu2004:sandbox-x86_64
27             volumes:
28               - /tmp/ccache.ubuntu2004:/scratch/ccache
29               - /scratch/nomad:/scratch/nomad:ro
30           Artifacts:
31             - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar