Skip to content

jonesbusy/bitbucket-kubernetes-credentials-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitbucket-kubernetes-credentials-plugin

Build Status Coverage LOC Jenkins Plugin GitHub release GitHub license Jenkins Plugin Installs

Introduction

This plugin provides an extension for the kubernetes-credentials-provider-plugin plugin, and the atlassian-bitbucket-server-integration-plugin that extend the kubernetes credentials provider to create the special credential type required by the atlassian-bitbucket-server-integration when interacting with a bitbucket server instance.

Usage

This plugin consumes extends the kubernetes-credentials-provider-plugin to consume kubernetes secrets with a "jenkins.io/credentials-type" of "bitbucketToken". These secrets need to have a data property "text" that contains a base64 encoded bearer token for bitbucket server.

Example

apiVersion: v1
data:
  text: c3VwZXJkdXBlcnNlY3JldA==
kind: Secret
metadata:
  annotations:
    jenkins.io/credentials-description: The Bitbucket token for creating web hooks
  labels:
    jenkins.io/credentials-type: bitbucketToken
  name: bitbucket-hook-token
  namespace: jenkins-demo
type: Opaque

LICENSE

Licensed under MIT, see LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%