English | 中文
Woodpecker
Front-end Automation Integration Services

Steps to deploy a front-end project in a generic way when developing with a separate front-end and back-end:
- Upload via Xshell command
- Upload via filezilla visual interface
- Script code is uploaded via ssh (you can configure your own business code)
- Project configuration upload via Jenkins (associated git repository)
The above deployment method, there are shortcomings, but also need to compile in the input command, Jenkins configuration and complex, but also switch to other tools configuration, this extension is to replace the above tools, integrated into vscode, convenient for front-end developers to quickly integrate the deployment
Features
- Automatically build and packaged projects
- Automatic compression
- Automatic upload server publishing
usage
- Search for
Woodpecker
in the vscode extension and click install
- Open
File->Preferences->Settings
- You can choose to go to the
User Settings
or Workspace Settings
, find the Extension
Tree node and locate Woodpecker
, click Edit in Settings.json
- Go to the
Settings.json
file and the following structure will be automatically generated for you
{
"name": "develop server", // Remarks of the server name
"host": "127.0.0.1", // Server Address
"username": "root", // Log in username
"password": "password", // Log in password
"remotePath": "/home/www/admin", // The server file directory for project uploads
"build": "yarn build:test", // Build the executed command
"distPath": "dist" // The project is packed with directories that need to be uploaded
}
- You can create multiple environments in the array configuration
FAQ
No, if you configure the address path of the key, then you don't need a username and password, otherwise you need a username and password
Is there any limitation of local development environment and server development environment?
Currently only in the local is window environment, the server is linux environment tested, other environments have not been tested, if there are problems, you can raise issues