I have added branch specific steps to build the image for nodejs application, here is the pipeline
options:
docker: true
pipelines:
branches:
dev:
- step:
name: Build Prod Image
image: node:9.50
services:
- docker
script:
- npm install
- npm run buildtest
"dev" branch is available, if I add "default" block that is getting executed for master branch commit. Please let me know if this pipeline is wrong or any hint what might be going wrong