Open steffen-wilke opened 5 years ago
Could be done e.g. as
withMinio(endpointUrl:'http://minio.local', credentials:'12345678-abcd-1111-2222') {
// minioUpload()
}
This would allow for many minio servers.
@steffen-wilke Can you please try as suggested by @eplodn
@kannappanr If I understood it correctly, the suggestion is no solution for my request. It's a suggestion for how the additional configuration options for host
, accessKey
and secretKey
could be realized.
@steffen-wilke Sorry, I didn't read through the entire message. Will check internally within the team and see how we can support this.
@kannappanr did you come to any conclusion?
Currently we don't have much cycles to address this issue, we will come back to it in future.
Since #8 is closed, I'd like to create this new issue on the topic of proper Jenkins Pipeline support.
Use-Case: We build our software with Jenkins Declarative Pipelines. The artifacts that are produced in the
post
build step are only persistent as long as the build is kept. This is where minio comes into play. We want to store build artifacts in a minio bucket.Workaround:
8 Already mentioned a syntax to achieve this:
Expected:
Also, it would be great to have the possibility to specify the
host
,accessKey
andsecretKey
on a pipeline level (as additional parameters), so the configuration is not just a global Jenkins thing which effectively allows one Jenkins instance to only talk to one minio server.