Drone CI 中文文档

执行本地构建 (drone exec)

该子命令用于执行一个本地构建。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
$ drone exec --help
NAME:
   drone exec - execute a local build

USAGE:
   drone exec [command options] [path/to/.drone.yml]

OPTIONS:
   --pipeline value        name of the pipeline to execute
   --include value         name of steps to include
   --exclude value         name of steps to exclude
   --resume-at value       name of start to resume at
   --trusted               build is trusted
   --timeout value         build timeout (default: 1h0m0s)
   --secret-file value     secret variable file
   --env-file value        environment variable file

快速入门

请参阅我们的快速入门指南,了解如何使用命令行工具在本地机器上执行你的流水线:

快速入门