GithubHelp home page GithubHelp logo

slackuploader's People

Stargazers

 avatar  avatar  avatar

Forkers

jenkinsci

slackuploader's Issues

add ability to specify file path with environmental variables

It would be great if we can specify file path using environmental variables such as ${WORKSPACE} etc.
Or letting file path use relative path from workspace.

Please let me know if this is already known issue or is doable somehow.

My environment:
Jenkins ver. 2.73.3
Slack Upload Plugin 1.7

Unable to set a directory path to upload multiple build files

I have installed your plugin and configured it this way :

token : oauth token generated using slack api
channel : #android
path: /var/lib/jenkins/workspace/myapp/app/build/outputs/apk/

This folder contains 2 APKs file per build I want to upload.

In the post build hook log, I have this :

curl: (26) couldn't open file "app-debug.apk"
curl: (26) couldn't open file "app-release-unsigned.apk"

It works if I specify only one of these 2 files. However it would be great if you updated your bash script to make it detect that the path is a directory and that it should upload all the files found in this directory.

Using plugin in groovy code

Hi guys. I want to use this plugin in my Jenkins pipeline job. I have groovy code for job and want to send file to Slack from it. Please advice

Space on path name

Hi,
I try to upload a file on slack, but I have a space on my file path and the plugin crash.
There is my file path:
"/Users/Shared/Jenkins/Home/workspace/Prod\ AppName/app/build/outputs/apk/app-*"

And there is the result from jenkins log:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (26) couldn't open file "/Users/Shared/Jenkins/Home/workspace/Prod"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (26) couldn't open file "AppName/app/build/outputs/apk/app-dev-2.7.12.apk"

Should I escape my path name with specific option or its an issue with the plugin?

Thank you for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.