-
Bug
-
Resolution: Incomplete
-
Major
-
Jenkins-CF plugin v2.2.1
I've been trying to connect to a CF instance using Jenkins CF plugin but I'm facing the below error.
(Using Jenkins-CF plugin v2.2.1)
Note: Organization name modified.
Cloud Foundry plugin: java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067) ...
(Full log attached)
I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too?
[Targeting Organizations with &'s in their names does not work
Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully.
[JENKINS-50385] Jenkins Cloud Foundry plugin error: Organization does not exist
Description |
Original:
I've been trying to connect to a CF instance using the Jenkins CF plugin but I'm facing the below error. (Using Jenkins-CF plugin v2.2.1) _Note: Organization name modified._ {code:java} Cloud Foundry plugin: java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067) ...{code} (Full log attached) I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too? [Targeting Organizations with &'s in their names does not work |[https://github.com/cloudfoundry/cf-java-client/issues/340]] Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully. |
New:
I've been trying to connect to a CF instance using the Jenkins CF plugin but I'm facing the below error. (Using Jenkins-CF plugin v2.2.1) _Note: Organization name modified._ {code:java} Cloud Foundry plugin: java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067) ...{code} (Full log attached) I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too? [Targeting Organizations with &'s in their names does not work |[https://github.com/cloudfoundry/cf-java-client/issues/340]]| Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully. |
Description |
Original:
I've been trying to connect to a CF instance using the Jenkins CF plugin but I'm facing the below error. (Using Jenkins-CF plugin v2.2.1) _Note: Organization name modified._ {code:java} Cloud Foundry plugin: java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067) ...{code} (Full log attached) I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too? [Targeting Organizations with &'s in their names does not work |[https://github.com/cloudfoundry/cf-java-client/issues/340]]| Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully. |
New:
I've been trying to connect to a CF instance using Jenkins CF plugin but I'm facing the below error. (Using Jenkins-CF plugin v2.2.1) _Note: Organization name modified._ {code:java} Cloud Foundry plugin: java.lang.IllegalArgumentException: Organization A_&_B_Ants_&_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100 does not exist at org.cloudfoundry.util.ExceptionUtils.illegalArgument(ExceptionUtils.java:45) at org.cloudfoundry.operations._DefaultCloudFoundryOperations.lambda$getOrganization$1(_DefaultCloudFoundryOperations.java:262) at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3067) ...{code} (Full log attached) I've come across the below issue in CF Java client and looks like it has been resolved in a later snapshot. Is the same resolved in the Jenkins CF plugin too? [Targeting Organizations with &'s in their names does not work |[https://github.com/cloudfoundry/cf-java-client/issues/340]]| Note 2: I've tried with some other organization names with no &'s in it and I'm able to connect successfully. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Got this issue fixed by replacing the & characters in the organization name to the string 'and'. So a correct org name for my case is "A_and_B_Ants_and_Bananas_ABC_AB_ABC-AB-C-D-LoremIpsum-DolorSit-100"