<commit_before>---
resources:
  - name: repo
    type: git
    source:
      uri: {{app-url}}
      branch: {{app-branch}}
      private_key: {{github-private-key}}
  - name: version
    type: git
    source:
      uri: {{app-url}}
      branch: version
      private_key: {{github-private-key}}
  - name: tools
    type: git
    source:
      uri: {{tools-scripts-url}}
      branch: {{tools-branch}}
  - name: m2
    type: docker-image
    source:
      repository: springcloud/spring-pipeline-m2

jobs:
  - name: generate-version
    public: true
    plan:
    - aggregate:
        - get: tools
        - get: version
      - task: generate-version
        file: tools/concourse/tasks/generate-version.yml
        params:
          GIT_EMAIL: {{git-email}}
          GIT_NAME: {{git-name}}
      - put: version
        params:
          repository: out

  - name: build-and-upload
    serial: true
    public: false
    plan:
    - aggregate:
      - get: tools
      - get: repo
      - get: m2
      - get: version
        resource: version
        passed: [ generate-version ]
        trigger: true
    - task: build-and-upload
      file: tools/concourse/tasks/build-and-upload.yml
      params:
        _JAVA_OPTIONS: -Djava.security.egd=file:/dev/./urandom
        GIT_EMAIL: {{git-email}}
        GIT_NAME: {{git-name}}
        REDOWNLOAD_INFRA: {{redownload-infra}}
        REDEPLOY_INFRA: {{redeploy-infra}}
        EUREKA_GROUP_ID: {{eureka-group-id}}
        EUREKA_ARTIFACT_ID: {{eureka-artifact-id}}
        EUREKA_VERSION: {{eureka-version}}<commit_msg>Trying to make this work<commit_after>---
resources:
  - name: repo
    type: git
    source:
      uri: {{app-url}}
      branch: {{app-branch}}
      private_key: {{github-private-key}}
  - name: version
    type: git
    source:
      uri: {{app-url}}
      branch: version
      private_key: {{github-private-key}}
  - name: tools
    type: git
    source:
      uri: {{tools-scripts-url}}
      branch: {{tools-branch}}
  - name: m2
    type: docker-image
    source:
      repository: springcloud/spring-pipeline-m2

jobs:
  - name: generate-version
    public: true
    plan:
    - aggregate:
        - get: tools
        - get: version
    - task: generate-version
      file: tools/concourse/tasks/generate-version.yml
      params:
        GIT_EMAIL: {{git-email}}
        GIT_NAME: {{git-name}}
    - put: version
      params:
        repository: out

  - name: build-and-upload
    serial: true
    public: false
    plan:
    - aggregate:
      - get: tools
      - get: repo
      - get: m2
      - get: version
        resource: version
        passed: [ generate-version ]
        trigger: true
    - task: build-and-upload
      file: tools/concourse/tasks/build-and-upload.yml
      params:
        _JAVA_OPTIONS: -Djava.security.egd=file:/dev/./urandom
        GIT_EMAIL: {{git-email}}
        GIT_NAME: {{git-name}}
        REDOWNLOAD_INFRA: {{redownload-infra}}
        REDEPLOY_INFRA: {{redeploy-infra}}
        EUREKA_GROUP_ID: {{eureka-group-id}}
        EUREKA_ARTIFACT_ID: {{eureka-artifact-id}}
        EUREKA_VERSION: {{eureka-version}}
{'fraction_non_alphanumeric': 0.12822966507177033, 'fraction_numerical': 0.0019138755980861245, 'mean_word_length': 1.966887417218543, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '199089', 'n_tokens_mistral': 1070, 'n_tokens_neox': 1035, 'n_words': 219}