2

I got 3 profiles for my application in application.yaml

  1. for dev local
  2. for build / test during jenkins build
  3. for deployment using docker and ConfigMap using JIB

part one and three working ok, what I need to do is to fill my placeholders during test run in jenkins with secrets.

so i need to fill

spring:
    config:
        activate:
            on-profile: pipeline
    datasource:
        url: ${pipeline.datasource.url}
        username: ${pipeline.username}
        password: ${pipeline.password}

from secrets ? which plugins ? how ?

UnnameDSoS
  • 113
  • 1
  • 12

0 Answers0