jenkins-x/jx

Failing on 'jx step helm install' step : Error creating releases.jenkins.io

sainadha-krishna opened this issue · 2 comments

Hi Team,

In our CICD pipeline, we have this step of installing a helm chart using the command:
jx step helm install

our command:
jx step helm install --version= --name=test-release --namespace= --set-file=

Appropriate values are provided for all the parameters mentioned in above command

Upon running this command, we are getting the below error:
Error creating releases.jenkins.io: the server could not find the requested resource

It appears like system tries the same command multiple times and same error is shown up multiple times in console and finally it fails with the below error:
error: failed to register the Team CRD: the server could not find the requested resource

Can someone help me with this ??

I am bit new to jx so please bear with me.

Thanks and Regards.

jx step helm install is a Jenkins X 2 command. Jenkins X 2 is deprecated and not supported in any way. The current major version of Jenkins X is 3.

@msvticket What is the equivalent command to use if i upgrade to Jenkins X 3 ??