All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gin.plugin-notifications.0.20.0.source-code.discord-template.peb Maven / Gradle / Ivy

{
    {% if username is defined %}
        "username": "{{username}}"
    {% endif %}
    {% if content is defined %}
        , "content": "{{content}} {{execution.id}}"
    {% endif %}
    {% if websiteUrl is defined %}
        , "websiteUrl": "{{websiteUrl}}",
    {% endif %}
        "embeds": [
          {% if embedList is defined %}
          {% for embed in embedList %}
            {
              {% if embed.title is defined %}
                "title": "{{title}}",
              {% endif %}
              {% if color is defined %}
                "color": "{{color}}",
              {% endif %}
              {% if avatarUrl is defined %}
                "avatarUrl": "{{avatarUrl}}",
              {% endif %}
              {% if thumbnail is defined %}
                "thumbnail": "{{thumbnail}}",
              {% endif %}
              {% if authorName is defined %}
                "authorName": "{{authorName}}",
              {% endif %}

              {% if authorName is defined %}
                "authorName": "{{authorName}}",
              {% endif %}
            },
          {% endfor %}
          {% endif %}
          {
                "description": "Namespace: {{execution.namespace}}\nFlow ID: {{execution.flowId}}\nExecution ID: {{execution.id}}\nExecution Status: {{execution.state.current}} {% if link is defined %}\n\n[Link to the Execution page]({{link}}){% endif %}",
                "footer": {
                    "text": "{% if firstFailed == false %}Succeeded{% else %}Failed on task `{{firstFailed.taskId}}`{% endif %} after {{duration}}"
                }
          }
        ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy