Refactor: Cleanup for pre-commit
[ci-management.git] / jjb / vnfrqts / build-and-upload.yaml
index 0df13c5..103c472 100644 (file)
@@ -4,12 +4,12 @@
     # upload it to nexus as RAW artifacts.
     #
 
-    name: '{project-name}-{stream}-build-and-upload'
+    name: "{project-name}-{stream}-build-and-upload"
 
-    pre_script: ''
-    post_script: ''
-    artifact_name: ''
-    project_id: ''
+    pre_script: ""
+    post_script: ""
+    artifact_name: ""
+    project_id: ""
 
     project-type: freestyle
     concurrent: true
 
     properties:
       - infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
+          build-days-to-keep: "{build-days-to-keep}"
 
     parameters:
       - infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          refspec: 'refs/heads/{branch}'
-          artifacts: '{archive-artifacts}'
+          project: "{project}"
+          branch: "{branch}"
+          refspec: "refs/heads/{branch}"
+          artifacts: "{archive-artifacts}"
 
     scm:
       - git:
-          credentials-id: '{jenkins-ssh-credential}'
-          url: '$GIT_BASE'
-          refspec: ''
-          choosing-strategy: 'default'
+          credentials-id: "{jenkins-ssh-credential}"
+          url: "$GIT_BASE"
+          refspec: ""
+          choosing-strategy: "default"
           branches:
-            - 'refs/heads/{branch}'
+            - "refs/heads/{branch}"
           skip-tag: true
           wipe-workspace: true
           submodule:
-            recursive: '{submodule-recursive}'
-            timeout: '24'
+            recursive: "{submodule-recursive}"
+            timeout: "24"
 
     wrappers:
       - infra-wrappers:
-          build-timeout: '{build-timeout}'
+          build-timeout: "{build-timeout}"
 
     triggers:
-      - timed: 'H H * * *'
+      - timed: "H H * * *"
       - gerrit-trigger-release-manually:
-          server: '{server-name}'
-          project: '{project}'
-          branch: '{branch}'
+          server: "{server-name}"
+          project: "{project}"
+          branch: "{branch}"
 
     builders:
       - lf-provide-maven-settings:
-          global-settings-file: '{mvn-global-settings}'
-          settings-file: '{mvn-settings}'
-      - shell: '{obj:pre_script}'
+          global-settings-file: "{mvn-global-settings}"
+          settings-file: "{mvn-settings}"
+      - shell: "{obj:pre_script}"
       - lf-infra-create-netrc:
           server-id: ecomp-raw
       - inject:
           properties-content: |
             ARTIFACT_NAME={artifact_name}
             PROJECT_ID={project_id}
-      - shell: '{obj:post_script}'
+      - shell: "{obj:post_script}"
       - lf-provide-maven-settings-cleanup
 
     publishers: