-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.263.2
Minio Plugin 1.2.0
Observed behaviour
While trying to upload using the MinIO-Plugin, we always get the error:
Problem storing objects in Minio: http://jenkins-master-host-fqdn: Name or service not known
This host name is not being used in any configuration or environment variable. Also, the configured Jenkins URL is https://our-jenkins-master.domain and not http://jenkins-master-host-fqdn
The configured hostname https://our.minio.server is not to be found in the error message.
Expected behaviour
Uploads should be attempted against the configured host, not the physical Jenkins master host name.
Workaround/Mitigation
There is not enough debug output for further investigation.
Configuration and further information
Declarative pipeline code snippet
minio bucket: 'mybucket', credentialsId: 'minio-credentials', excludes: '', host: 'https://our.minio.server', includes: 'foo/bar.baz', targetFolder: 'my/target/folder'
The issue occurs regardless of the underlying executor (i.e. Linux vs. Windows).