Fix: Modify the RelativeDest path
[ci-management.git] / jenkins-config / clouds / nomad / FDIONOMAD / jobtemplate-default.yaml
index 10cb716..b3426cd 100644 (file)
@@ -27,13 +27,13 @@ Job:
               - hudson.remoting.jnlp.Main
               - -headless
               - -url
-              - https://jenkins.fd.io/sandbox
+              - https://jenkins.fd.io
               - -workDir
               - /w/
               - '%WORKER_SECRET%'
               - '%WORKER_NAME%'
             privileged: true
-            image: fdiotools/builder-ubuntu2204:sandbox-aarch64
+            image: fdiotools/builder-ubuntu2204:prod-aarch64
             auth:
               - password: hidden
                 username: fdionomad
@@ -54,7 +54,8 @@ Job:
             MaxFiles: 1
             MaxFileSizeMB: 10
           Artifacts:
-            - RelativeDest: /local/
+            - GetterSource: https://jenkins.fd.io/jnlpJars/slave.jar
+            - RelativeDest: local/
       RestartPolicy:
         Interval: 10000000000
         Mode: fail