configuration-as-code-plugin/demos/build_agents
Victor Martinez 6f702ae9da Validate build_agents demo with the integrations framework (#1081) 2019-09-29 12:43:33 +01:00
..
README.md Validate build_agents demo with the integrations framework (#1081) 2019-09-29 12:43:33 +01:00

README.md

build agents

Build agents configuration belongs (currently) under jenkins root element

sample configuration

jenkins:
  nodes:
    - permanent:
        labelString: "linux docker test"
        mode: NORMAL
        name: "utility-node"
        remoteFS: "/home/user1"
        launcher:
          jnlp:
            workDirSettings:
              disabled: true
              failIfWorkDirIsMissing: false
              internalDir: "remoting"
              workDirPath: "/tmp"

    - permanent:
        labelString: "linux docker test"
        mode: NORMAL
        name: "utility-node-2"
        numExecutors: 4
        remoteFS: "/home/user2"
        launcher:
          SSHLauncher:
            host: "192.168.1.1"
            port: 22
            credentialsId: test
            launchTimeoutSeconds: 60
            maxNumRetries: 3
            retryWaitTime: 30
            sshHostKeyVerificationStrategy:
              manuallyTrustedKeyVerificationStrategy:
                requireInitialManualTrust: false