<commit_before>- job:
    name: openstack-api-ref
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'publishdocs-api'

    publishers:
      - console-log
      - upload-doc-build-results
      - ftp:
          site: developer.openstack.org
          source: 'publish-docs/api-ref/**'
          target: '/'
          remove-prefix: 'publish-docs/api-ref/'
      - ftp:
          site: developer.openstack.org
          source: 'swagger/**'
          target: 'draft/swagger/'
          remove-prefix: 'swagger/'

- job:
    name: openstack-api-ref-publish-lang
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'publishlang-api'

    publishers:
      - console-log
      - upload-doc-build-results
      - ftp:
          site: developer.openstack.org
          source: 'publish-docs/api-ref/**'
          target: '/'
          remove-prefix: 'publish-docs/api-ref/'

- job:
    name: gate-build-swagger
    description: Build and publish draft Swagger files from WADL migration.
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'makeswagger'

    publishers:
      - console-log
      - upload-swagger-draft

- job:
    name: gate-compute-api-guide
    description: Build and draft the Compute API Guide from nova source.
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'api-guide'

    publishers:
      - console-log<commit_msg>Added npm-install macro to swagger build job<commit_after>- job:
    name: openstack-api-ref
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'publishdocs-api'

    publishers:
      - console-log
      - upload-doc-build-results
      - ftp:
          site: developer.openstack.org
          source: 'publish-docs/api-ref/**'
          target: '/'
          remove-prefix: 'publish-docs/api-ref/'
      - ftp:
          site: developer.openstack.org
          source: 'swagger/**'
          target: 'draft/swagger/'
          remove-prefix: 'swagger/'

- job:
    name: openstack-api-ref-publish-lang
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'publishlang-api'

    publishers:
      - console-log
      - upload-doc-build-results
      - ftp:
          site: developer.openstack.org
          source: 'publish-docs/api-ref/**'
          target: '/'
          remove-prefix: 'publish-docs/api-ref/'

- job:
    name: gate-build-swagger
    description: Build and publish draft Swagger files from WADL migration.
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - npm-install
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'makeswagger'

    publishers:
      - console-log
      - upload-swagger-draft

- job:
    name: gate-compute-api-guide
    description: Build and draft the Compute API Guide from nova source.
    node: ubuntu-trusty

    builders:
      - gerrit-git-prep
      - install-distro-packages
      - revoke-sudo
      - tox:
          envlist: 'api-guide'

    publishers:
      - console-log
{'fraction_non_alphanumeric': 0.11136558831949614, 'fraction_numerical': 0.0, 'mean_word_length': 1.6590563165905632, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5907565', 'n_tokens_mistral': 1174, 'n_tokens_neox': 1089, 'n_words': 218}