drone_git_clone

package module
v0.0.0-...-29045ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2022 License: MIT Imports: 6 Imported by: 0

README

drone-git-clone

usage

kind: pipeline
type: docker
name: default

steps:
  - name: clone <xxx>
    image: beanjs/drone-git-clone
    settings:
      remote: repository
      username: <xxx>
      password: <bbb>
      cache: ./cache
      branch: master
      recursive: false

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	Remote    string
	Cache     string
	Branch    string
	Username  string
	Password  string
	Recursive bool
}

func (*Plugin) Exec

func (p *Plugin) Exec() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL