I'm confused. Using the buildWithParameters endpoint is an unsatisfactory solution because it requires authentication, which simply isn't required in many environments. And this link:
claims that it's possible to pass parameters via notifyCommit, provided you set the Jenkins system property hudson.model.ParametersAction.safeParameters to a comma-separated list of parameters that should be allowed to pass through. > The notifyCommit call (without a sha1=xxx parameter) does not schedule a build, it schedules polling of the repository... So... which of the following is correct: 1. It is never possible to pass build parameters via notifyCommit 1. It is possible to pass parameters via notifyCommit, provided those parameters are listed in hudson.model.ParametersAction.safeParameters 1. It is possible to pass parameters via notifyCommit, provided those parameters are listed in hudson.model.ParametersAction.safeParameters and you also pass sha1=<xxx> |