Skip to content

Plugin construction documentation is misleading #9149

Closed
@WolfWalter

Description

@WolfWalter

My servereless.yml file has mix of external plugins like serverless-webpack and local plugins like "./lib/serverless/plugins/check-stage-name". Since the version 2.30.0 the external plugins do not get executed when there are also local plugins. When I remove the local plugins it works. I was able to fix the issue by reverting the commit a9a48f6

serverless.yml
service: sp-api
variablesResolutionMode: 20210219

plugins:
  - serverless-webpack
  - serverless-appsync-plugin
  - serverless-pseudo-parameters
  - ./lib/serverless/plugins/check-stage-name
  - ./lib/serverless/plugins/check-git-branch-before-deploy
...
sls deploy --config serverless-api.yml --verbose output
Serverless: CheckGitBranchBeforeDeploy: No branch requirement for stage "wlt"
Done in 1.80s.

Installed version

sls --version
Framework Core: 2.30.0 (local)
Plugin: 4.5.1
SDK: 4.2.0
Components: 3.7.5
Done in 0.66s.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions