drone-slack | Drone plugin for sending Slack notifications | Plugin library

 by   drone-plugins Go Version: v1.4.1 License: Apache-2.0

kandi X-RAY | drone-slack Summary

kandi X-RAY | drone-slack Summary

drone-slack is a Go library typically used in Plugin, Docker applications. drone-slack has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Drone plugin for sending Slack notifications
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              drone-slack has a low active ecosystem.
              It has 62 star(s) with 81 fork(s). There are 12 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 45 have been closed. On average issues are closed in 181 days. There are 9 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of drone-slack is v1.4.1

            kandi-Quality Quality

              drone-slack has 0 bugs and 0 code smells.

            kandi-Security Security

              drone-slack has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              drone-slack code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              drone-slack is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              drone-slack releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 555 lines of code, 22 functions and 3 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed drone-slack and discovered the below as its top functions. This is intended to give you an instant insight into drone-slack implemented functionality, and help decide if they suit your requirements.
            • main creates a new app
            • run runs the plugin .
            • Exec executes the slack plugin
            • newCommitMessage returns a new message .
            • message returns a string representation of a build .
            • Fallback returns a string representation of the given build .
            • color converts a build to color string .
            • Helper function to prepend a string to a given string
            • templateMessage renders a template message
            Get all kandi verified functions for this library.

            drone-slack Key Features

            No Key Features are available at this moment for drone-slack.

            drone-slack Examples and Code Snippets

            drone-slack,Usage
            Godot img1Lines of Code : 17dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            docker run --rm \
              -e SLACK_WEBHOOK=https://hooks.slack.com/services/... \
              -e PLUGIN_CHANNEL=foo \
              -e PLUGIN_USERNAME=drone \
              -e DRONE_REPO_OWNER=octocat \
              -e DRONE_REPO_NAME=hello-world \
              -e DRONE_COMMIT_SHA=7fd1a60b01f91b314f59955a4e4d4e  
            drone-slack,Release Preparation
            Godot img2Lines of Code : 2dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone-plugins -p drone-slack -t 
            
            docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generat  
            drone-slack,Docker
            Godot img3Lines of Code : 2dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-slack
            docker build --rm -t plugins/slack .
              

            Community Discussions

            Trending Discussions on drone-slack

            QUESTION

            How to get a slack notification when build fails?
            Asked 2017-Nov-02 at 13:15

            When my build is successful I get a slack notification, when it fails I do not. Looking at the Drone web UI it looks like it stops once the build fails and the slack plugin is never run.

            A successful build results in notify happening:

            A failed build does not get to the notify stage:

            The key parts of the .drone.yml are as follows:

            ...

            ANSWER

            Answered 2017-Nov-02 at 13:15

            I've taken a look at the docs and it seems your missing the following line:

            Source https://stackoverflow.com/questions/47076215

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install drone-slack

            Build the binary with the following commands:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/drone-plugins/drone-slack.git

          • CLI

            gh repo clone drone-plugins/drone-slack

          • sshUrl

            git@github.com:drone-plugins/drone-slack.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link