git - How to deploy a plugin to Jenkins Hosting? -


i'm trying create new release plugin , can't make work.

the general document try follow this: https://wiki.jenkins-ci.org/display/jenkins/hosting+plugins

i managed every possible error message on page (connection refused, publickey, 401 unauthorized) , tried many combination of suggestion there , here , across web, no luck far.

i have user in jenkinsci, in github , permission in infra.

can point me list of steps cause successful deployment? please specific possible.

  • where run? cmd? github-desktop shell (cmd? bash? powershell?) regular git-bash? (each gives me different result)
  • pom.xml setting? parent use? tried including latest 2.14, again, each version giving me different error

what should test before run? i've run mvn release:perpare release:perform , caused version number increase many times no reason. should 'mvn deploy' work? (it doesn't)

i've got work (it hard, endless tries).

the bottom line nothing exciting, of clues in original document https://wiki.jenkins-ci.org/display/jenkins/hosting+plugins (which read 2,000 times, each time noticing nuance important). original plugin released 3 years ago, things have changed since caused of problems.

this set-up worked:


Comments