Comments (3)
Can you raise this with the artifact manager with S3 plugin please, its unlikely to be an issue with configuration as code
from configuration-as-code-plugin.
@timja
I think I just figured out
Seems that prefix
parameter is required even value is empty string. I don't have prefix, all artifacts are in the root of the bucket.
I compared io.jenkins.plugins.artifact_manager_jcloud.s3.S3BlobstorageConfig.xml
before and after save, and after saving few lines are added to that .xml
<prefix></prefix>
<customEndpoint></customEndpoint>
<customSigningRegion></customSigningRegion>
I did not set it because when I checked "View Configuration", prefix
parameter was omitted.
Also now I noticed that my new builds without prefix set created directory started with null
.
So instead having
s3://my-bucket-name/my-job-name/master/425/artifacts/....
this was created
s3://my-bucket-name/nullmy-job-name/master/425/artifacts/....
So this CasC solved the issue
aws:
awsCredentials:
region: "eu-west-2"
s3:
container: "my-s3-bucket"
disableSessionToken: false
useHttp: false
usePathStyleUrl: false
useTransferAcceleration: false
prefix: ""
Even I have now set prefix
to empty string, CasC plugin on "View Configuration" did not added it there.
Do you still think this should be raised with Artifact Manager on S3 plugn?
from configuration-as-code-plugin.
yes it should handle that case
from configuration-as-code-plugin.
Related Issues (20)
- JCASC not able export create yaml with "list view swithin nested view" HOT 1
- Configuration As Code Plugin compatible with Scriptler HOT 1
- Jenkins Configuration Reload issue - ERROR 401 Unauthorized
- java.lang.IllegalArgumentException: No hudson.tools.ToolInstaller implementation found for jdkInstaller on Jenkins 2.440.1
- decodeBase64 it not working in casc secrets HOT 1
- Nonnull dependency issue on startup
- Working with different environments, load files specific to environment HOT 3
- Error while serving <JENKINS_URL>/configuration-as-code/viewExport
- Plugin based credentials HOT 4
- Jobs: "file" is undocumented HOT 2
- Jenkins is not starting in installation phase - bitbucket rate limiting error
- Jenkins Build Failure HOT 1
- snakeyaml java.lang.NoSuchMethodError
- Escaping variables is not documented HOT 2
- Helpers like `readFile` in JCasC YAML Fails to Load Password from File
- reload-configuration-as-code/?casc-reload-token=<token> throws HTTP/1.1 403 Forbidden HOT 5
- Incomplete support for sectioned view HOT 1
- Jenkins CASC Folder Syntax: How to organise pipelinescript-defined job files into folders?
- BaseConfigurator warns about #owner field that should be ignored
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from configuration-as-code-plugin.