Skip to content
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

Jenkins Plugin Not Working #8508

Open
Unit111 opened this issue Jan 24, 2023 · 0 comments
Open

Jenkins Plugin Not Working #8508

Unit111 opened this issue Jan 24, 2023 · 0 comments

Comments

@Unit111
Copy link

Unit111 commented Jan 24, 2023

I have pre-installed JX on AWS and I want to add regular Jenkins to execute my automation tests on. I followed the instructions from the official JX page:
https://jenkins-x.io/v3/admin/guides/jenkins/getting-started/
After executing: jx gitops jenkins add --name regularjenkins it looks like all new files were created:

  1. New regularjenkins directory under helmfiles with hemlfile.yaml and values.yaml
  2. New entry in .jx/gitops/source-config.yaml containing the following:
jenkinsServers:
  - server: regularjenkins

After pushing these changes Kubernetes did its thing and jx-values.yaml appeared under helmfiles/regularjenkins and new namespace was created.
Still following the guide I managed to switch to the new namespace running
jx ns myjenkins
and am able to get the information about the new service running kubectl get ing:
jenkins <none> jenkins-regularjenkins.jx3.y-tree.uk a1d98d608ebc746f6ae9b57bb6a06aab-f1d753675891d386.elb.eu-west-2.amazonaws.com 80 21h
Obtaining the URL also works:

echo http://`kubectl get ingress jenkins -o jsonpath="{.spec.rules[0].host}"`

But if I try to obtain the admin password I get an error that it can't be found (we are using Vault to store our secrets):
kubectl get secret jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode
Also, when I try to open the Jenkins server URL I receive from the command above, I get 503.
Octant also displays Jenkins but its constantly loading something:
Screenshot 2023-01-24 at 12 44 26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant