No stages / jobs for this pipelin
时间: 2023-12-10 21:42:22 浏览: 109
er. It seems like there are no stages or jobs defined in the pipeline configuration file. Without any stages or jobs, the pipeline will not have any actions to perform. You need to define at least one stage and a job within that stage in order to execute any tasks in the pipeline.
Here is an example of a basic pipeline configuration file with one stage and one job:
```
stages:
- build
build:
script:
- echo "Building application..."
- npm install
- npm run build
```
In this example, the pipeline has one stage called "build" which has one job also called "build". The job has a set of commands defined under the `script` section, which will be executed when the job runs. In this case, the commands will install dependencies and build the application.
阅读全文