jenkins-x / jx

Jenkins X provides automated CI+CD for Kubernetes with Preview Environments on Pull Requests using Cloud Native pipelines from Tekton
https://jenkins-x.io/
Apache License 2.0
4.57k stars 786 forks source link

JX support for BitbucketCloud #7594

Open mohitgaikwad9 opened 3 years ago

mohitgaikwad9 commented 3 years ago

Summary

I have been working on setting up Jenkins X on the AWS EKS cluster by following steps menstioned in https://jenkins-x.io/docs/.

I configured the EKS cluster via terraform & perform JX Boot while making changes to git kind as bitbucketcloud. But it is taking GitHub as a base repository during the boot process.

I tried setting up JX via jx install CLI but got below errors

Steps to reproduce the behavior

jx install --provider=eks --verbose=true --git-provider-kind=bitbucketcloud --git-provider-url='https://bitbucket.org' --tekton

Expected behavior

Successfull Jenkins Installation process

Actual behavior

? Configured Jenkins installation type: Serverless Jenkins X Pipelines with Tekton DEBUG: checking installation flags DEBUG: flags after checking - &{ConfigFile: InstallOnly:false Domain: ExposeControllerURLTemplate: ExposeControllerPathMode: AzureRegistrySubscription: DockerRegistry:573953866029.dkr.ecr.ap-southeast-1.amazonaws.com DockerRegistryOrg: Provider:eks VersionsRepository:https://github.com/jenkins-x/jenkins-x-versions.git VersionsGitRef: Version: LocalHelmRepoName:releases Namespace:jx CloudEnvRepository:https://github.com/jenkins-x/cloud-environments NoDefaultEnvironments:false RemoteEnvironments:false DefaultEnvironmentPrefix:shoulderlily LocalCloudEnvironment:false EnvironmentGitOwner: Timeout:6000 HelmTLS:false RegisterLocalHelmRepo:false CleanupTempFiles:true Prow:true DisableSetKubeContext:false Dir: Vault:false RecreateVaultBucket:true Tekton:true BuildPackName: Kaniko:false GitOpsMode:false NoGitOpsEnvApply:false NoGitOpsEnvRepo:false NoGitOpsEnvSetup:false NoGitOpsVault:false NextGeneration:false StaticJenkins:false LongTermStorage:false LongTermStorageBucketName:} error: checking the provided flags: Git provider: bitbucketcloud is not yet supported for Tekton. You can work around this with '--static-jenkins' For more details see: https://jenkins-x.io/about/status/

Jx version

Version 2.1.150 Commit c038751 Build date 2020-09-26T19:20:02Z Go version 1.13.8 Git tree state clean

Diagnostic information

The output of jx diagnose version is: Running in namespace: jx Version 2.1.150 Commit c038751 Build date 2020-09-26T19:20:02Z Go version 1.13.8 Git tree state clean NAME VERSION jenkins x platform 2.0.2405 Kubernetes cluster v1.17.12-eks-7684af kubectl (installed in JX_BIN) v1.16.6-beta.0 helm client 2.16.9 git 2.23.3 Operating System Amazon Linux 2

Please visit https://jenkins-x.io/faq/issues/ for any known issues.

Finished printing diagnostic information.

Kubernetes cluster

terraform eks

Kubectl version

The output of kubectl version --client is: Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:30:33Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.12-eks-7684af", GitCommit:"7684af4ac41370dd109ac13817023cb8063e3d45", GitTreeState:"clean", BuildDate:"2020-10-20T22:57:40Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

Operating system / Environment

Linux

jenkins-x-bot commented 3 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close. Provide feedback via https://jenkins-x.io/community. /lifecycle stale