Add KUBERNETES_VERSION in integration and image building jobs
[infra/cicd.git] / jjb / airship / job_openstack_image_building.yml
index c08661e93ea3ee636b11e4bffb2bfd6b4f7d76ed..6e7b0415a21459a6c3bd5d014dcf92d3013fd12e 100644 (file)
     defaults: global
     disabled: False
     concurrent: True
-
+    parameters:
+    - string:
+        name: KUBERNETES_VERSION
+        default: "v1.22.0"
+        description: 'Kubernetes version'
+        
     properties:
     - build-discarder:
         days-to-keep: 30
         num-to-keep: 300
         artifact-days-to-keep: -1
         artifact-num-to-keep: -1
-    - github:
-        url: https://github.com/{repo[org]}/{repo[name]}
 
     triggers:
     - timed: "@midnight"
@@ -48,7 +51,7 @@
     pipeline-scm:
       scm:
       - git:
-          url: https://github.com/{ci_github_repo}.git
+          url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
             - 'master'