minio / minio-jenkins

This is a simple Jenkins plugin that lets you upload Jenkins artifacts to a Minio Server
Apache License 2.0
5 stars 10 forks source link

Support for Jenkins Pipeline. #8

Closed bweston92 closed 6 years ago

bweston92 commented 7 years ago

I believe there is no support for Jenkins pipeline, how would we go about getting this implemented?

nitisht commented 7 years ago

hey @bweston92

Jenkins pipelines are currently not supported in the plugin. We can explore this for sure, do you have a specific use case where pipelines will be helpful for Minio + Jenkins users?

bweston92 commented 7 years ago

Hi @NitishT at the minute I build some artefacts that would need pushing. I have found the following works, no idea how but it does.

                step([$class: 'MinioUploader',
                      sourceFile: '*.zip',
                      bucketName: 'artifacts'])
nitisht commented 7 years ago

Where was this snippet added?

bweston92 commented 7 years ago

In a declarative Jenkinsfile inside a stage block. On Tue, 29 Aug 2017 at 18:13, Nitish Tiwari notifications@github.com wrote:

Where was this snippet added?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/minio/minio-jenkins/issues/8#issuecomment-325731941, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrq2c02AB7lTjPvUI5wxtJ2DTwxNtTaks5sdEatgaJpZM4PF1xW .

bweston92 commented 6 years ago

Closing for inactivity.

dsudduth commented 6 years ago

@bweston92 is it possible to keep this conversation going? Jenkins has heavily invested in the declarative syntax. Would be great if we can use it with this plugin.