Menu

1 / 14

Forge App CI/CD with Bitbucket Pipelines

DEV Community: cicd·Mihai Perdum·about 24 hours ago
#VIeXTeaM
#devtocicd#devto#dev#repository#bitbucket
Reading 0:00
15s threshold

This tutorial sets up Forge app CI/CD in Bitbucket Pipelines from one prompt in CogniRunner's Jira Coder: the Coder creates a private Bitbucket repository and writes a UI Kit issue panel called Issue age, and a Bitbucket pipeline deploys and installs it. At the end you have the repository, a bitbucket-pipelines.yml that stops before forge deploy when the manifest's scopes change, and the panel on a Jira issue. CogniRunner is our app, and I think the scope lock is the part worth copying even if you never use the Coder.

We shot the video below on 10 October. On 17 October we repeated the steps on our test site, and the screenshots here are from that second run. Bitbucket's run page put the deploy at 3 min 29 s (209 s). The rest went less smoothly than the video: Bitbucket refused to create the repository with the sign-in we had connected, and the first commit came back 404 because it went out under the wrong identity. Both are below, with what fixed them.

The video shows CogniRunner 1.33.0.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.