Hi everyone,
I want to restrict a Jenkins (global, for testing purposes) credential. The URL I want to use this credential for is something like this:
https://somewhere.someDomain.top/RepositoryName/repository.gitHow do I restrict usage of the credential? I created a domain and have tried various things to restrict it, but only the URI scheme seems to work somehow.
I've said "https" in the URI scheme, and when I type http, the credential is removed from the list.
But when I instead use hostname or URI path, it doesn't seem to work as the credentials are never removed.
Examples for what I've used
Hostname
----------------
Include: somewhere.someDomain.top
Exclude: **
Include: somewhere.someDomain.top
Exclude: *
Include: somewhere.someDomain.top
Exclude: **/**
URI Path
-----------------
Include: somewhere.someDomain.top/RepositoryName/repository.git
Exclude: **/**
Include: **/RepositoryName/repository.git
Exclude: **/**
What is the correct syntax and order in which I should enter the restrictions?
Regards,
Daniel Poggenpohl