Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8296

Allow use of random persona instead of a fix one

    Details

    • Similar Issues:

      Description

      It would be great to allow per project use of a random persona at each launch of a build.

      How :

      In the configuration of a project, the "Random Persona" will be choose in the list of available personas.

      At each launch of a build the plugin will verify if the choosen persona is the "Random Persona", if so this "Random Persona" will randomize the choose of one of the personas configured.

      The remaining process will be the same as today.
      The project quote and icon will of course reflect the last build.

      Pull request made : https://github.com/jenkinsci/persona-plugin/pull/1

        Attachments

        1. persona.hpi
          26 kB
        2. persona.jar
          25 kB
        3. persona.zip
          25 kB

          Activity

          Hide
          whren whren added a comment - - edited

          First proposed attempt of improvement : 1.2-SNAPSHOT modified
          jar, hpi and source provided

          Note : It includes a fix attempt for JENKINS-8298 too

          Show
          whren whren added a comment - - edited First proposed attempt of improvement : 1.2-SNAPSHOT modified jar, hpi and source provided Note : It includes a fix attempt for JENKINS-8298 too
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Whren
          Path:
          src/main/java/hudson/plugins/persona/QuotePublisher.java
          src/main/java/hudson/plugins/persona/RandomPersona.java
          src/main/java/hudson/plugins/persona/RandomPersonaFinder.java
          src/main/java/hudson/plugins/persona/simple/AbstractQuoteImpl.java
          src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java
          http://jenkins-ci.org/commit/persona-plugin/2ac2d10efecf0e318d128910540c00c5cd35c6e4
          Log:
          [FEATURE JENKINS-8296] Allow use of random persona instead of a fix one

          It would be great to allow per project use of a random persona at each launch of a build.

          How :

          In the configuration of a project, the "Random Persona" will be choose in the list of available personas.

          At each launch of a build the plugin will verify if the choosen persona is the "Random Persona", if so this "Random Persona" will randomize the choose of one of the personas configured.

          The remaining process will be the same as today.
          The project quote and icon will of course reflect the last build.

          Signed-off-by: Whren <whren@free.fr>

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Whren Path: src/main/java/hudson/plugins/persona/QuotePublisher.java src/main/java/hudson/plugins/persona/RandomPersona.java src/main/java/hudson/plugins/persona/RandomPersonaFinder.java src/main/java/hudson/plugins/persona/simple/AbstractQuoteImpl.java src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java http://jenkins-ci.org/commit/persona-plugin/2ac2d10efecf0e318d128910540c00c5cd35c6e4 Log: [FEATURE JENKINS-8296] Allow use of random persona instead of a fix one It would be great to allow per project use of a random persona at each launch of a build. How : In the configuration of a project, the "Random Persona" will be choose in the list of available personas. At each launch of a build the plugin will verify if the choosen persona is the "Random Persona", if so this "Random Persona" will randomize the choose of one of the personas configured. The remaining process will be the same as today. The project quote and icon will of course reflect the last build. Signed-off-by: Whren <whren@free.fr>
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_persona #30
          [FEATURE JENKINS-8296] Allow use of random persona instead of a fix one (Revision 2ac2d10efecf0e318d128910540c00c5cd35c6e4)

          Result = SUCCESS
          Seiji Sogabe :
          Files :

          • src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java
          • src/main/java/hudson/plugins/persona/RandomPersona.java
          • src/main/java/hudson/plugins/persona/simple/AbstractQuoteImpl.java
          • src/main/java/hudson/plugins/persona/QuotePublisher.java
          • src/main/java/hudson/plugins/persona/RandomPersonaFinder.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_persona #30 [FEATURE JENKINS-8296] Allow use of random persona instead of a fix one (Revision 2ac2d10efecf0e318d128910540c00c5cd35c6e4) Result = SUCCESS Seiji Sogabe : Files : src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java src/main/java/hudson/plugins/persona/RandomPersona.java src/main/java/hudson/plugins/persona/simple/AbstractQuoteImpl.java src/main/java/hudson/plugins/persona/QuotePublisher.java src/main/java/hudson/plugins/persona/RandomPersonaFinder.java

            People

            • Assignee:
              Unassigned
              Reporter:
              whren whren
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: