commit e1b97ea3d91bfb1ce82b98ff7dfb52e4e062fdcc Author: admin Date: Tue Jun 28 10:05:52 2022 +0800 Added Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..d50fbc4 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +pipeline { + agent { + node { + label 'sss' + } + + } + stages { + stage('aa') { + steps { + kubeconfig(serverUrl: 'https://10.8.30.157:6443', credentialsId: '-----BEGIN CERTIFICATE----- MIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl cm5ldGVzMB4XDTIxMTIwNTE0NTkxOVoXDTMxMTIwMzE0NTkxOVowFTETMBEGA1UE AxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAO15 Gdo3aHG9wrt6IUJxshE3WkzuNVx8zVkcwR5NIoq+EDC90KWHkxx6aV55lUi+1T3U 1yWis3OTXznIZihv2dH4n0bJmH3qyGnDsYnyiiNoZQT5K7BBO7v7nsGVrH2EMcLa ++3dX5i7Fy7/qjn+MjMX4C0xhEaShOYUk+4FkGMCE3ln0wld0c1IOGzLEHNb2MlI Hgq7/EQIfq+oNjBpMZGQwcg53k+udDIsgrsLTuiJG1++30rXqmQtvFifAZR/wnmT iCOLBjUmNvQDFXbhVf9NWqnZkiGmtaZtaM0gpTN6kNqxW9JomKeWEGSweaEUmBl2 ImUkh69B648GD6u7rx8CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB /wQFMAMBAf8wHQYDVR0OBBYEFFB+TQ1InmJqYUnx9Rwlcs5ARUmwMBUGA1UdEQQO MAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAA9SVouELp09/ROG+Ply JIlJ27RZltzekgD+y/CsI+qmF7sK2xHrsoy0IoJa3bh14jIUKLplm4+TdTTHNvXL xq1b/hTEmeNjXaQtstJa74Mn+cEYU4MNfrYnXtIDxn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