Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Debugging a Plugin
  • start

    Start Jenkins and

    Sonar

    SonarQubeTM plugin with embedded Jetty :

    Code Block
    
    mvn hpi:run
    

    For testing purposes you can also specify version of Jenkins, which is greater than version used for compilation :

    Code Block
    
    mvn hpi:run -Dhudson.version=1.351
    
  • browse to http://localhost:8080
  • Jetty automatically detects compilation updates then restarts. Very useful.
Release
Warning

Outdated info

  • edit the file ~/.java.net :

    Code Block
    
    userName=[java.net username]
    password=[java.net password]
    
  • tag subversion and upload the release:

    Code Block
    
    $ cd plugins
    $ mvn -N install
    $ cd sonar
    $ mvn release:prepare release:perform -Dusername=[java.net username] -Dpassword=[java.net password]
    
  • add the changelog to release notes.

...