CI/CD solution for modern cloud applications on Kubernetes
Questions tagged [jenkins-x]
82 questions
18
votes
2 answers
trigger jenkins build on tag creation with multibranch pipeline
I've got a stage in my Jenkinsfile for building from a tag matching a tag name filter:
stage('Build Release from Tag') {
when {
tag '*RELEASE'
}
In order to get tags to be discovered I've had to add tag discovery and…

Ryan Dawson
- 11,832
- 5
- 38
- 61
16
votes
1 answer
Installing a go module fails with `invalid: module contains a go.mod file, so major version must be compatible`
I'm trying to import from Jenkins-X/jx to customize some stuff a little bit.
I'm really new to go heads up
but trying to go get ./... fails.
my go.mod file
module github.com/my-org/my-project
go 1.13
require github.com/jenkins-x/jx v2.0.383
I…

Benbentwo
- 391
- 1
- 2
- 10
5
votes
2 answers
Tiller is installed but not found by Helm
Background
I have kubernetes installed in clustered mode.
All nodes are up and running
I want to use jenkins-x to get ease of deployment.
Now jenkins-x uses Helm to do this job; Helm comes up with client and server architecture.
Helm setup can be…

Kundan Atre
- 3,853
- 5
- 26
- 39
4
votes
1 answer
Openshift RBAC policy to allow projects in preview environment to access images from different project
I am using OKD with Jenkinsx setup and jenkinsx creates a project dynamically based on a Pull Request created by a developer and deploys the services in that project.
But the services in those projects fails with "ImagePullBackOff" error since the…

Bhavani Prasad
- 1,079
- 1
- 9
- 26
4
votes
1 answer
Should jx step helm apply create/produce a helm release
I'm struggling with jx, kubernetes and helm. I run a Jenkinsfile on jx executing commands in env directory:
sh 'jx step helm build'
sh 'jx step helm apply'
It finishes with success and deploys pods/creates deployment etc. however, helm list is…

maszter
- 3,680
- 6
- 37
- 53
4
votes
2 answers
Jenkins X error: secrets "jenkins" not found
I am following this tutorial. I'm trying to create a Jenkins X app locally in minikube and setting it up with Github.
But when I do jx create quickstart and follow the steps I get error: secrets "jenkins" not found as error.
Also, I found…

noobie
- 751
- 4
- 13
- 33
4
votes
2 answers
Jenkins X per environment values.yaml
I am using Jenkins X and attempting to set different variables via values.yaml files based upon the environment that I am promoting to. For example, when promoting a release from staging to production, I would like the values.yaml file in my…

duffn
- 3,690
- 8
- 33
- 68
3
votes
1 answer
"jx boot" fails in "openshift-3.11" provider with "tekton pipeline controller" pod into "crashloopbackoff" state
Summary:
I already have a setup of "static jenkins server" type jenkins-x running in openshift 3.11 provider. The cluster was crashed and I want to reinstall jenkins-x in my cluster but there is no support for "static jenkins server" now.
So I am…

Bhavani Prasad
- 1,079
- 1
- 9
- 26
3
votes
0 answers
Openshift RBAC policy to add anyuid scc to all the projects in preview environment
I am using OKD with Jenkinsx setup and jenkinsx creates a project dynamically based on a Pull Request created by a developer and deploys the services in that project.
But the services in those projects fails with "CrashLoopBackOff" error since the…

Bhavani Prasad
- 1,079
- 1
- 9
- 26
3
votes
2 answers
Jenkins X: trying to execute 'jx boot' from a non requirements repo
I'm trying to install Jenkins X on an existing Kubernetes cluster (GKE), using jx boot, but it always gives me the error trying to execute 'jx boot' from a non requirements repo
In fact, I have tried to use jx install, and it works, but this command…

Lewen
- 1,823
- 2
- 15
- 17
3
votes
0 answers
jx command to delete the PV's (Persistent Volumes) associated with a helm release
I am trying to delete all the resources of a deployed micro service like Deployments, services, PVC's and PV's associated with a helm release using the "jx step helm delete {release_name} -n {db-backup}".
This deletes all the resources except the…

Bhavani Prasad
- 1,079
- 1
- 9
- 26
3
votes
0 answers
Jenkins X extraValues.yaml overrides helm values in preview environment
I'm using ECR to store docker images. In a preview environment, I'm making a few changes in values.yaml so that image gets pulled from ECR.
cat pim/dam/preview/values.yaml
expose:
Annotations:
helm.sh/hook: post-install,post-upgrade
…

tejesh s
- 121
- 9
3
votes
0 answers
jenkins pod template files are not viewable from other stages
I am running jenkins jobs using the kubernetes pod templates plugin.
In the first stage of the build i have some files that get created and they are using pod template A, but these files seem to not be written to the workspace for other stages to…

BLang
- 930
- 3
- 16
- 35
2
votes
0 answers
EKS sc / pv / pvc status `Bound` but the Volume isn't showing in UI, AWS EBS list
I can't find my created Volume anywhere, I checked all the AWS-EU zones and nothing.
Here is my YAML:
# apiVersion: v1
# kind: PersistentVolumeClaim
# metadata:
# name: m1-operation-volume-pvc
# annotations:
# …

enkicoma
- 461
- 4
- 25
2
votes
0 answers
Jenkinsx Nexus pod is going into "CrashLoopBackOff" state with "Login to nexus failed with the default password and the provided password secret file"
I am trying to create a pipeline in Jenkinsx with Openshift cluster. The pipeline is successfully created but the springboot application build fails with "Nexus 401 authentication error".
So restarted all the pods under jx namespace. All the pods…

Bhavani Prasad
- 1,079
- 1
- 9
- 26