11---
2- title : Bitbucket Server
2+ title : Bitbucket Data Center
33weight : 15
44---
5- # Install Pipelines-As-Code on Bitbucket Server
5+ # Install Pipelines-As-Code on Bitbucket Data Center
66
77Pipelines-As-Code has a full support of [ Bitbucket
8- Server ] ( https://www.atlassian.com/software/bitbucket/enterprise ) .
8+ Data Center ] ( https://www.atlassian.com/software/bitbucket/enterprise ) .
99
1010After following the [ installation] ( /docs/install/installation ) :
1111
@@ -39,7 +39,7 @@ recreate it.
3939 echo https://$( oc get route -n pipelines-as-code pipelines-as-code-controller -o jsonpath=' {.spec.host}' )
4040 ```
4141
42- * [ Refer to this screenshot] ( /images/bitbucket-server -create-webhook.png ) on
42+ * [ Refer to this screenshot] ( /images/bitbucket-datacenter -create-webhook.png ) on
4343 which events to handle on the Webhook. The individual events to select are :
4444
4545 * Repository -> Push
@@ -51,7 +51,7 @@ recreate it.
5151 * Create a secret with personal token in the ` target-namespace `
5252
5353 ``` shell
54- kubectl -n target-namespace create secret generic bitbucket-server -webhook-config \
54+ kubectl -n target-namespace create secret generic bitbucket-datacenter -webhook-config \
5555 --from-literal provider.token=" TOKEN_AS_GENERATED_PREVIOUSLY" \
5656 --from-literal webhook.secret=" SECRET_AS_SET_IN_WEBHOOK_CONFIGURATION"
5757 ```
@@ -70,16 +70,16 @@ recreate it.
7070 spec :
7171 url : " https://bitbucket.com/workspace/repo"
7272 git_provider :
73- # make sure you have the right bitbucket server api url without the
73+ # make sure you have the right bitbucket data center api url without the
7474 # /api/v1.0 usually the # default install will have a /rest suffix
75- url : " https://bitbucket.server .api.url/rest"
75+ url : " https://bitbucket.datacenter .api.url/rest"
7676 user : " your-bitbucket-username"
7777 secret :
78- name : " bitbucket-server -webhook-config"
78+ name : " bitbucket-datacenter -webhook-config"
7979 # Set this if you have a different key in your secret
8080 # key: "provider.token"
8181 webhook_secret :
82- name : " bitbucket-server -webhook-config"
82+ name : " bitbucket-datacenter -webhook-config"
8383 # Set this if you have a different key for your secret
8484 # key: "webhook.secret"
8585```
@@ -90,7 +90,7 @@ recreate it.
9090 Pipelines as code always assumes it will be the same namespace as where the
9191 repository has been created.
9292
93- * ` tkn-pac create ` and ` bootstrap ` is not supported on Bitbucket Server .
93+ * ` tkn-pac create ` and ` bootstrap ` is not supported on Bitbucket Data Center .
9494
9595{{< hint danger >}}
9696
0 commit comments