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

Add support for Rich Text Publisher Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Rich+Text+Publisher+Plugin

      Configuration section
      <publishers>
        <org.korosoft.jenkins.plugin.rtp.RichTextPublisher plugin="rich-text-publisher-plugin@1.3">
          <stableText>TEXT</stableText>
          <unstableText>unstable</unstableText>
          <failedText>failed</failedText>
          <unstableAsStable>true</unstableAsStable>
          <failedAsStable>true</failedAsStable>
          <parserName>HTML</parserName>
        </org.korosoft.jenkins.plugin.rtp.RichTextPublisher>
      </publishers>
      

        Attachments

          Activity

          v2v Victor Martinez created issue -
          v2v Victor Martinez made changes -
          Field Original Value New Value
          Description Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Confluence+Publisher+Plugin

          {code:xml|title=Configuration section}
          <publishers>
            <com.myyearbook.hudson.plugins.confluence.ConfluencePublisher plugin="confluence-publisher@1.8">
              <siteName>wiki.jenkins-ci.org</siteName>
              <attachArchivedArtifacts>true</attachArchivedArtifacts>
              <buildIfUnstable>true</buildIfUnstable>
              <fileSet>123.file</fileSet>
              <spaceName>123</spaceName>
              <pageName>123</pageName>
              <editors>
                <com.myyearbook.hudson.plugins.confluence.wiki.editors.AppendEditor>
                  <generator class="com.myyearbook.hudson.plugins.confluence.wiki.generators.FileGenerator">
                    <filename>file.name</filename>
                  </generator>
                </com.myyearbook.hudson.plugins.confluence.wiki.editors.AppendEditor>
                <com.myyearbook.hudson.plugins.confluence.wiki.editors.AfterTokenEditor>
                  <generator class="com.myyearbook.hudson.plugins.confluence.wiki.generators.FileGenerator">
                    <filename>file.name</filename>
                  </generator>
                  <markerToken>asa</markerToken>
                </com.myyearbook.hudson.plugins.confluence.wiki.editors.AfterTokenEditor>
                <com.myyearbook.hudson.plugins.confluence.wiki.editors.BeforeTokenEditor>
                  <generator class="com.myyearbook.hudson.plugins.confluence.wiki.generators.FileGenerator">
                    <filename>file.name</filename>
                  </generator>
                  <markerToken>marker</markerToken>
                </com.myyearbook.hudson.plugins.confluence.wiki.editors.BeforeTokenEditor>
                <com.myyearbook.hudson.plugins.confluence.wiki.editors.PrependEditor>
                  <generator class="com.myyearbook.hudson.plugins.confluence.wiki.generators.PlainTextGenerator">
                    <text>sdfs</text>
                  </generator>
                </com.myyearbook.hudson.plugins.confluence.wiki.editors.PrependEditor>
                <com.myyearbook.hudson.plugins.confluence.wiki.editors.BetweenTokensEditor>
                  <generator class="com.myyearbook.hudson.plugins.confluence.wiki.generators.FileGenerator">
                    <filename>file.name</filename>
                  </generator>
                  <startMarkerToken>start</startMarkerToken>
                  <endMarkerToken>end</endMarkerToken>
                </com.myyearbook.hudson.plugins.confluence.wiki.editors.BetweenTokensEditor>
                <com.myyearbook.hudson.plugins.confluence.wiki.editors.EntirePageEditor>
                  <generator class="com.myyearbook.hudson.plugins.confluence.wiki.generators.FileGenerator">
                    <filename>file.name</filename>
                  </generator>
                </com.myyearbook.hudson.plugins.confluence.wiki.editors.EntirePageEditor>
              </editors>
            </com.myyearbook.hudson.plugins.confluence.ConfluencePublisher>
          </publishers>
          {code}
          Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Rich+Text+Publisher+Plugin

          {code:xml|title=Configuration section}
          <publishers>
            <org.korosoft.jenkins.plugin.rtp.RichTextPublisher plugin="rich-text-publisher-plugin@1.3">
              <stableText>TEXT</stableText>
              <unstableText>unstable</unstableText>
              <failedText>failed</failedText>
              <unstableAsStable>true</unstableAsStable>
              <failedAsStable>true</failedAsStable>
              <parserName>HTML</parserName>
            </org.korosoft.jenkins.plugin.rtp.RichTextPublisher>
          </publishers>
          {code}
          v2v Victor Martinez made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          v2v Victor Martinez added a comment -

          Changes:

          Waiting for coding the enum logic since the markup language supports only "HTML", "WikiMark" and "Confluence"

          Show
          v2v Victor Martinez added a comment - Changes: https://github.com/v1v/job-dsl-plugin/tree/rich-text Waiting for coding the enum logic since the markup language supports only "HTML", "WikiMark" and "Confluence"
          v2v Victor Martinez made changes -
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          v2v Victor Martinez made changes -
          Issue Type New Feature [ 2 ] Task [ 3 ]
          Hide
          daspilker Daniel Spilker added a comment - - edited

          The upcoming generic DSL (https://github.com/jenkinsci/job-dsl-plugin/pull/816) will enable support for the Rich Text Publisher plugin:

          job('example') {
            publishers {
              richTextPublisher {
                stableText('!')
                unstableText('!!')
                failedText('!!!!')
                unstableAsStable(true)
                failedAsStable(true)
                parserName('WikiText')
              }
            }
          }
          
          Show
          daspilker Daniel Spilker added a comment - - edited The upcoming generic DSL ( https://github.com/jenkinsci/job-dsl-plugin/pull/816 ) will enable support for the Rich Text Publisher plugin: job( 'example' ) { publishers { richTextPublisher { stableText( '!' ) unstableText( '!!' ) failedText( '!!!!' ) unstableAsStable( true ) failedAsStable( true ) parserName( 'WikiText' ) } } }
          daspilker Daniel Spilker made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          daspilker Daniel Spilker made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 167232 ] JNJira + In-Review [ 209484 ]

            People

            Assignee:
            v2v Victor Martinez
            Reporter:
            v2v Victor Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: