<commit_before>- job-template:
    name: 'kops-{build}'
    description: 'Grab the latest kops from GitHub, build. Owner: @justinsb, @zmerlynn'
    node: 'build'
    properties:
        - build-discarder:
            num-to-keep: 200
    builders:
        - activate-gce-service-account
        - shell: |
            {job-env}
            timeout -k {kill-timeout}m {timeout}m ./docker/build-squash-push.sh && rc=$? || rc=$?
            {report-rc}
    publishers:
        - claim-build
        - log-parser
        - email-ext:
            presend-script: $DEFAULT_PRESEND_SCRIPT
            fail: true
            fixed: true
            send-to:
                - culprits
        - gcs-uploader
        - workspace-cleanup:
            dirmatch: true
            external-deletion-command: 'sudo rm -rf %s'
    scm:
        - git:
            url: https://github.com/kubernetes/kops
            branches:
                - '{branch}'
            browser: githubweb
            browser-url: https://github.com/kubernetes/kops
            wipe-workspace: false
            skip-tag: true
    triggers:
        - pollscm:
            cron: 'H/2 * * * *'
    wrappers:
        - e2e-credentials-binding
        - timeout:
            timeout: '{jenkins-timeout}'
            fail: true
        - timestamps
        - workspace-cleanup:
            dirmatch: true
            external-deletion-command: 'sudo rm -rf %s'

- project:
    name: kops-builds
    build:
        - 'build':
            branch: 'master'
            timeout: 20
            job-env: |
              export BUILD_LINK="latest"
    jobs:
        - 'kops-{build}'<commit_msg>kops: Force tag push<commit_after>- job-template:
    name: 'kops-{build}'
    description: 'Grab the latest kops from GitHub, build. Owner: @justinsb, @zmerlynn'
    node: 'build'
    properties:
        - build-discarder:
            num-to-keep: 200
    builders:
        - activate-gce-service-account
        - shell: |
            {job-env}
            timeout -k {kill-timeout}m {timeout}m ./docker/build-squash-push.sh && rc=$? || rc=$?
            {report-rc}
    publishers:
        - claim-build
        - log-parser
        - email-ext:
            presend-script: $DEFAULT_PRESEND_SCRIPT
            fail: true
            fixed: true
            send-to:
                - culprits
        - gcs-uploader
        - workspace-cleanup:
            dirmatch: true
            external-deletion-command: 'sudo rm -rf %s'
    scm:
        - git:
            url: https://github.com/kubernetes/kops
            branches:
                - '{branch}'
            browser: githubweb
            browser-url: https://github.com/kubernetes/kops
            wipe-workspace: false
            skip-tag: true
    triggers:
        - pollscm:
            cron: 'H/2 * * * *'
    wrappers:
        - e2e-credentials-binding
        - timeout:
            timeout: '{jenkins-timeout}'
            fail: true
        - timestamps
        - workspace-cleanup:
            dirmatch: true
            external-deletion-command: 'sudo rm -rf %s'

- project:
    name: kops-builds
    build:
        - 'build':
            branch: 'master'
            timeout: 20
            job-env: |
              export BUILD_LINK="latest"
              export BUILD_PUSH_TAG="yes"
    jobs:
        - 'kops-{build}'
{'fraction_non_alphanumeric': 0.11307209093628477, 'fraction_numerical': 0.004187855219862399, 'mean_word_length': 1.3157894736842106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '975851', 'n_tokens_mistral': 1039, 'n_tokens_neox': 994, 'n_words': 208}