We use the jenkins secret text credential to store the nomad token.
!Breaking change: we cannot migrate existing secret nomad token to a
jenkins credential. User will have to manually create a new jenkins
credential as secret text and select it in the configuration.
We use the jenkins secret text credential to store the nomad token.
!Breaking change: we cannot migrate existing secret nomad token to a jenkins credential. User will have to manually create a new jenkins credential as secret text and select it in the configuration.
heavily inspired on @i4s-pserrano work (see https://github.com/jenkinsci/nomad-plugin/pull/32/commits/2e7f9c7126a70efa9137127c3dab017fb4d0b0fb)