We are desperate for an answer for deploying Strapi from our Bitbucket repository to a Strapi Server using Jenkin Pipeline. We are brand new to Strapi and are still waiting for our support contract to go through. In the meantime, we need to deploy our code to a development server.
The goal is to create a Jenkin pipeline to deploy Strapi to a development server automatically.
- Strapi version: 4.3.2
- Node: v16.18.0
- Database: PostgreSQL version 14
- Edition: Community
We manually built the source code by running the “npm run build” command, and there were no errors.
At this point, we are unsure what to do with the artifacts because we also need to worry about content changes in the database.
What is the process for deploying Strapi with PostgreSQL connection using the Jenkin Pipeline?