masterlittle / slackuploader Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
Hello,
Is there any way to use the plugin via Jenkins pipelines?
Will be very glad for any response!
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
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.