Advertisement
PandaAcademy

CICD3 casc.yml

Dec 11th, 2022 (edited)
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.58 KB | None | 0 0
  1. jenkins:
  2.   securityRealm:
  3.     local:
  4.       users:
  5.        - id: "panda"
  6.          password: "panda"
  7.   authorizationStrategy:
  8.     globalMatrix:
  9.       permissions:
  10.        - "Overall/Administer:panda"
  11.   numExecutors: 0
  12.   nodes:
  13.   - permanent:
  14.       labelString: "agent"
  15.       launcher:
  16.         ssh:
  17.           credentialsId: "jenkins_agent"
  18.           host: "192.168.44.44"
  19.           port: 2222
  20.           sshHostKeyVerificationStrategy: "nonVerifyingKeyVerificationStrategy"
  21.       name: "agent"
  22.       remoteFS: "/home/jenkins/agent"
  23.       retentionStrategy: "always"
  24.  
  25. credentials:
  26.   system:
  27.     domainCredentials:
  28.     - credentials:
  29.       - usernamePassword:
  30.           id: "artifactory"
  31.           username: "admin"
  32.           password: "password"
  33.           scope: GLOBAL
  34.       - basicSSHUserPrivateKey:
  35.           id: "jenkins_agent"
  36.           username: "jenkins"
  37.           privateKeySource:
  38.             directEntry:
  39.               privateKey: |
  40.                -----BEGIN RSA PRIVATE KEY-----
  41.                 <KLUCZ>
  42.                -----END RSA PRIVATE KEY-----
  43.           scope: GLOBAL
  44. tool:
  45.   sonarRunnerInstallation:
  46.     installations:
  47.     - name: "SonarQube"
  48.       properties:
  49.       - installSource:
  50.           installers:
  51.           - sonarRunnerInstaller:
  52.               id: "4.7.0.2747"
  53.  
  54. unclassified:
  55.   location:
  56.     url: "http://192.168.44.44:8880/"
  57.   sonarGlobalConfiguration:
  58.     buildWrapperEnabled: true
  59.     installations:
  60.     - name: "SonarQube"
  61.       serverUrl: "http://192.168.44.44:9000"
  62.       triggers:
  63.         skipScmCause: false
  64.         skipUpstreamCause: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement