Hi Julien,
thanks for your answer. I'm not an expert on jenkins plugins, but I found this:
https://wiki.jenkins-ci.org/display/JENKINS/Dependencies+among+pluginsThis documentation says that it's indeed possible to mark a dependency as optional (though the error case has then to be handled accordingly).
So right now I'm looking for other possibilities (background: I only want to provide credentials to several plugins in one way: via the credentials plugin).
As I've read
here, it's not possible to specify name and password with maven settings.
They cannot be read from the credentials plugin either (yet).
However I can use the
credentials binding plugin, in which you can add a credential, assign a global environment variable to it and then use the variable in the build job:
"Now in a freestyle job, check the box
Use secret text(s) or file(s)
and add some variable bindings which will use your credentials. The
resulting environment variables can be accessed from shell script build
steps and so on. (You probably want to start any shell script with
set +x, or batch script with
@echo off.
JENKINS-14731)."
Nonetheless I'd be nice to have the credentials-feature.
Thanks Julien!
Regards
Sebastian