Skip to content

bivas/bitbucket-pipelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitBucket Pipelines YAML runner/parser Build Status

Runner

See Examples

Parser

Parse pipelines to Go structs.

Using the following example:

image: python:2.7
 
pipelines:
  default:
    - step:
        script:
          - python --version
          - python myScript.py

Will output the following struct:

{Image:python:2.7 Pipelines:{Default:[{Step:{Scripts:[python --version python myScript.py]}}] Branches:[] Tags:[] Bookmarks:[]}}