Skip to content
Browse files

[JENKINS-37778] Fix test after merge

Something unrelated in the shared libraries caused the tests to fail
bumping the dependency down one version to fix that.
An npe caused bu the credentials folder property to not be correctly initialized also fixed.
  • Loading branch information
rsandell committed Nov 8, 2016
1 parent b3e12b6 commit bec0c4be0503c5703e9d6e0da24833bc999d1372
@@ -148,7 +148,7 @@

@@ -82,6 +82,7 @@ public static void setup() throws Exception {
store.addCredentials(, mixedEnvCred2);

folder = j.jenkins.createProject(Folder.class, "testFolder");
folder.addProperty(new FolderCredentialsProvider.FolderCredentialsProperty(new DomainCredentials[0]));
CredentialsStore folderStore = folder.getProperties().get(FolderCredentialsProvider.FolderCredentialsProperty.class).getStore();
StringCredentialsImpl sc = new StringCredentialsImpl(CredentialsScope.GLOBAL, mixedEnvCred1Id, "test", Secret.fromString(mixedEnvInFolderCred1Secret));

0 comments on commit bec0c4b

Please sign in to comment.
You can’t perform that action at this time.