Drone plugins > Downstream Build
Downstream Build
by drone-plugins
Use this plugin to trigger builds for a list of downstream repositories. This
Example
kind: pipeline
name: default
steps:
- name: trigger
image: plugins/downstream
settings:
server: https://drone.example.com
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
fork: true
repositories:
- octocat/Hello-World
- octocat/Spoon-Knife
Properties
token
stringrequireddrone server auth token.
Secret recommendedDefault: none
server
stringrequireddrone server url.
Default: none
repositories
arrayrequiredtrigger builds for the repository list, you can mention branch using @.
Default: none
wait
booleanoptionalwait for any currently running builds to finish if true, else fails.
Default: false
timeout
numberoptionalhow long to wait on any currently running builds.
Default: 60
params
arrayoptionalsupports params in KEY=value format as well as loading of params from godotenv files.
Default: none
deploy
stringoptionalTrigger a deployment (promote build), value is the environment/target for the new build.
Default: none
last_successful
booleanoptionalTrigger the last successful build for the branch specified in repositories.
Default: false