Quantcast
Channel: CircleCI Discuss - Latest posts
Viewing all articles
Browse latest Browse all 14881

How to execute command 2 times in one build

$
0
0

Could you please tell me, is it possible to do this in CircleCi ?

parameters:
kafka:
type: string
default: “kafka_addr”

steps:

  • run:
    name: update
    command: |
    my command …<< parameters.kafka >> <— I would like to exacute this command 2 times for kafka_addr1 , kafka_addr2, executing one build “build_pr”

jobs:
- build:
name: build_pr
kafka: kafka_addr1 , kafka_addr2
filters:
branches:
ignore:
- master


Viewing all articles
Browse latest Browse all 14881

Latest Images

Trending Articles



Latest Images