-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to new jcasc test harness #168
Upgrade to new jcasc test harness #168
Conversation
...test/java/com/microsoftopentechnologies/windowsazurestorage/helper/CredentialRenameTest.java
Show resolved
Hide resolved
...test/java/com/microsoftopentechnologies/windowsazurestorage/helper/CredentialRenameTest.java
Show resolved
Hide resolved
|
||
import static org.junit.Assert.assertEquals; | ||
import static org.junit.Assert.assertNotNull; | ||
|
||
public class CredentialRenameTest { | ||
public static File input = new File("src/test/resources/com/microsoftopentechnologies/helper/correctFormatOldConfig.xml"); | ||
private Jenkins jenkinsInstance; | ||
private static final String correctConfigContent = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on new credentials it seems like the credential.xml was cached in memory and credentials weren't being loaded by just overwriting it on the file system
|
||
CredentialRename.renameStorageConfig(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is called on startup, no need to call it again
Would be great to get a release with this in, so it can be used in PCT @gavinfish 😄 |
@@ -93,7 +93,7 @@ | |||
<dependency> | |||
<groupId>org.jenkins-ci.plugins</groupId> | |||
<artifactId>credentials</artifactId> | |||
<version>2.1.16</version> | |||
<version>2.2.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The credentials configurator moved to the credentials plugin from the support plugin in this version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
nice work 🎉
Sure, I will draft a release. |
JCasc had to create a new dependency that wasn't a
tests
classifier because maven doesn't allow you to bring dependencies through classifiers.Upgrading here so that PCT works again,
Tracking:
jenkinsci/bom#164