1

I am using Flowdock plugin in Jenkins. For this I need to give API token. right now I am hard coding my Flowdock API token as follow:

publishers {
   flowdock(FLOWDOCK_TOKEN) {
      failure()
      tags('tag1', 'tag2')
    }
}  

Is there a way to avoid having this hard coded token in the code? Any suggestion?

KeepCalmAndCarryOn
  • 8,817
  • 2
  • 32
  • 47
αƞjiβ
  • 3,056
  • 14
  • 58
  • 95

1 Answers1

2

The Job DSL wiki has a section about Handling Credentials, that mentions the Flowdock plugin in an example.

daspilker
  • 8,154
  • 1
  • 35
  • 49