RDTK / generator

A tool for creating Jenkins jobs and other things from recipes describing software projects
GNU General Public License v3.0
21 stars 3 forks source link

Double Space on list Expansion #46

Closed LeroyR closed 4 years ago

LeroyR commented 4 years ago

Which generator version are you using?

build-generator 0.31.36
asdf            3.3.1
SBCL            1.5.5.0.sbcl-1.5.5.0-8ffc9ea

What did you do?

  1. The relevant recipe looks like this
templates:
  - runnable
  - base

variables:

  options:
    - FOO
    - BAR
    - BAZ

  options1: '${options} '
  options2: '${options}2'
  options3: '${options}  '

  shell.command: |
    @{options}
    @{generator.options}
    @{generator.options2}
    @{generator.options3}

Which doubles spaces for the jenkins shell:

FOOBARBAZ
FOO  BAR  BAZ  
FOO2BAR2BAZ2
FOO    BAR    BAZ    
scymtym commented 4 years ago

Fixed in upstream project. Fixed binary is available.