Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
I get the following complaint from the pipeline system:
"The 'v*' section in your bitbucket-pipelines.yml file is missing a 'step'. Please add the missing 'step' to fix the error."
My bitbucket-pipelines.yml looks as follows:
#!yaml
image: openjdk:7
pipelines:
default:
- step:
script:
- ./gradlew build
tags:
v*:
- step:
script:
- ./gradlew install
Which I believe looks a lot like the example in the documentation:
#!yaml image: node:4.6.0 pipelines: default: - step: script: - npm install - npm test tags: # add the 'tags' section release-*: # specify the tag - step: # define the build pipeline for the tag script: - npm install - npm test - npm run release branches: staging: - step: script: - echo "Clone all the things!"
So I do not know how to fix this.