Bitbucket Pipelines
1. Update your bitbucket-pipelines.yml
to include a Lager step
pipelines:
default:
- step:
name: Lager
image: lagerdata/lager-cli@v0.1.41
script: # Modify the commands below to build your repository.
- lager connect --device nrf52 --interface ftdi --transport swd --gateway majestic-moose --force
- lager testrun --serial-device /dev/ttyACM0 --hexfile test-example.hex --gateway majestic-moose
Add
LAGER_SECRET_TOKEN
as a secure repository variable

On your repository page, click "Repository settings"

Scroll down on the left side and click "Repository variables"

For the name, enter LAGER_SECRET_TOKEN
. The value can be retrieved from your account page. Make sure "Secured" is checked.

Click "Add" to save your repository variable