Skip to content

Commit

Permalink
[JENKINS-50571] - Make JCloudsArtifactManager fields non-final to all…
Browse files Browse the repository at this point in the history
…ow configuration via System Groovy Hooks.

Ideally a better non-static configuration UI needed so that each run persists information about its artifact manager parameters.
Otherwise reconfiguration will likely cause regressions.
  • Loading branch information
oleg-nenashev committed Apr 4, 2018
1 parent 014bd24 commit c423b4f
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -78,10 +78,10 @@ public class JCloudsArtifactManager extends ArtifactManager implements StashMana

private static final Logger LOGGER = Logger.getLogger(JCloudsArtifactManager.class.getName());

private static final String PROVIDER = System.getProperty("jclouds.provider", "aws-s3");
private static String PROVIDER = System.getProperty("jclouds.provider", "aws-s3");

private static final String BLOB_CONTAINER = System.getenv("S3_BUCKET");
private static final String PREFIX = System.getenv("S3_DIR");
private static String BLOB_CONTAINER = System.getenv("S3_BUCKET");
private static String PREFIX = System.getenv("S3_DIR");

private transient String key; // e.g. myorg/myrepo/master#123
private String id; // serialized
Expand Down

0 comments on commit c423b4f

Please sign in to comment.