{% extends "cacsremoteservice/views/layouts/master.html" %} {% block scripts %} {% endblock %} {% block secondary-nav %} {% include "cacsremoteservice/views/projects/project-header.html" with project=item tabs=tabs %} {% endblock %} {% block main %} {% if ff-multi-host-pr-integration %}
{% else %}
{% include "cacsremoteservice/views/partials/validation-errors.html" %}

PR Integration

Specify if you want to run delta analyses on Pull Requests using external webhooks.

Remember to configure the CodeScene host URL before configuring webhooks. Read more in the documentation.

{% if not item.hosted-remotes-available? %}
PR integration unavailable

PR integration is unavailable because the project has no hosted repository origins. Add a hosted Git remote using an HTTPS or SSH repository URL, then run an analysis before enabling PR integration.

{% endif %}
Automated code health review, code quality & code coverage

Customize how CodeScene comments on pull requests by selecting a code quality profile {% if any item.possible-repo-providers.github item.possible-repo-providers.other %}and defining coverage thresholds.{% endif %}

{% if item.multi-host-pr-integration-unavailable? %}
PR integration unavailable

This project has repositories from multiple code hosts. PR integration is not available unless the multi-host PR integration feature is enabled.

{% else %}
{% if any item.possible-repo-providers.azure item.possible-repo-providers.other %}
{% endif %} {% if any item.possible-repo-providers.bitbucket item.possible-repo-providers.other %}
{% endif %} {% if any item.possible-repo-providers.bitbucket-server item.possible-repo-providers.other %}
{% endif %} {% if any item.possible-repo-providers.gerrit item.possible-repo-providers.other %}
{% endif %} {% if ff-gerrit-plugin %} {% if any item.possible-repo-providers.plugin-gerrit item.possible-repo-providers.other %}
{% endif %} {% endif %} {% if any item.possible-repo-providers.github item.possible-repo-providers.other %}
{% endif %} {% if any item.possible-repo-providers.gitlab item.possible-repo-providers.other %}
{% endif %}
{% include "cacsremoteservice/views/projects/webhooks-configuration/azure-provider.html" %}
{% include "cacsremoteservice/views/projects/webhooks-configuration/bitbucket-provider.html" %}
{% include "cacsremoteservice/views/projects/webhooks-configuration/bitbucket-server-provider.html" %}
{% include "cacsremoteservice/views/projects/webhooks-configuration/gerrit-provider.html" %}
{% if ff-gerrit-plugin %}
{% include "cacsremoteservice/views/projects/webhooks-configuration/plugin-gerrit-provider.html" %}
{% endif %}
{% include "cacsremoteservice/views/projects/webhooks-configuration/github-app-provider.html" %}
{% include "cacsremoteservice/views/projects/webhooks-configuration/gitlab-provider.html" %}
{% endif %}
{% endif %} {% endblock %}