Thanks for the heads-up regarding the permissions. At this point I need more information about the credentials we want to use -- Kamil, can you provide more info? What is the purpose of the credentials you want to use here?On Fri, Apr 27, 2018 at 3:50 PM Davor Bonaci <davor@xxxxxxxxxx> wrote:Jason, you should now have all the permissions needed. (You should, however, evaluate whether this is a good place for it. Executors themselves, for example, might be an alternative.)On Fri, Apr 27, 2018 at 7:42 PM, Jason Kuster <jasonkuster@xxxxxxxxxx> wrote:See https://github.com/apache/
beam/blob/master/.test-infra/for an example of this being done in practice to add the coveralls repo token as an environment variable. jenkins/common_job_properties. groovy#L119On Fri, Apr 27, 2018 at 12:41 PM Jason Kuster <jasonkuster@xxxxxxxxxx> wrote:Hi Kamil, Davor,I think what you want is the Jenkins secrets feature (see https://support. cloudbees.com/hc/en-us/). Davor, I believe you are the only one with enough karma on Jenkins to access the credentials UI; once the credential is created in Jenkins it should be able to be set as an environment variable through the Jenkins job configuration (groovy files in $BEAM_ROOT/.test-infra/ articles/203802500-Injecting- Secrets-into-Jenkins-Build- Jobs jenkins). Hope this helps.JasonOn Thu, Apr 26, 2018 at 8:43 PM Davor Bonaci <davor@xxxxxxxxxx> wrote:Hi Kamil --Thanks for reaching out.This is a great question for the dev@ mailing list. You may want to share a little bit more why you need, how long, frequency of updates to the secret, etc. for the community to be aware how things work.Hopefully others on the mailing list can help you by manually putting the necessary secret into the cloud settings related to the executors.Davor---------- Forwarded message ----------
From: Kamil Szewczyk <szewinho@xxxxxxxxx>
Date: Tue, Apr 24, 2018 at 12:21 PM
Subject: Apache Beam - jenkins question
To: davor@xxxxxxxxxxDear Davor
I sent you a message on asf slack, wasn't sure how can I reach you.
Anyway are you able to add secret (environment variable) to jenkins. ??
Or point me to a person that would be able to do that ?
Kamil Szewczyk-------------Jason KusterApache Beam / Google Cloud DataflowSee something? Say something. go/jasonkuster-feedback