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

Link to Documents stored as Artifacts.

    XMLWordPrintable

Details

    Description

      I want to see documents stored as artifacts.
      I expects following features:

      • Artifacts are *.zip or *.jar files.
      • Just refers to artifacts, not makes a new copy for DocLinks.
      • I can see documents in the project pages (that is the one generated in the latest build), and also in the build pages.

      Attachments

        Activity

          ikedam ikedam created issue -
          ikedam ikedam added a comment -

          I found that this feature needs to order publishers, which is a feature introduced in Jenkins 1.463.

          ikedam ikedam added a comment - I found that this feature needs to order publishers, which is a feature introduced in Jenkins 1.463.
          ikedam ikedam added a comment - Sent a pull request https://github.com/jenkinsci/doclinks-plugin/pull/3
          ikedam ikedam made changes -
          Field Original Value New Value
          Assignee ikedam [ ikedam ] sogabe [ sogabe ]

          Code changed in jenkins
          User: ikedam
          Path:
          pom.xml
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocsLinksActionBase.java
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction/index.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config_ja.properties
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction/index.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config_ja.properties
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/Messages.properties
          src/main/resources/hudson/plugins/doclinks/artifacts/Messages_ja.properties
          http://jenkins-ci.org/commit/doclinks-plugin/73b7be2090ff5418e8439eac07d9408dc2e605aa
          Log:
          JENKINS-19456 Publish artifacts as documents.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocsLinksActionBase.java src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction/index.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config_ja.properties src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction/index.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config_ja.properties src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/Messages.properties src/main/resources/hudson/plugins/doclinks/artifacts/Messages_ja.properties http://jenkins-ci.org/commit/doclinks-plugin/73b7be2090ff5418e8439eac07d9408dc2e605aa Log: JENKINS-19456 Publish artifacts as documents.

          Code changed in jenkins
          User: ikedam
          Path:
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigNoHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocumentHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisherHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/ArtifactDocLinksHudsonTestCase.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/CleanupBuilder.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestFileBuilder.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder.java
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/index.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/test.js
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/default.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/index.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/default.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/index.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/default.htm
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/index.htm
          http://jenkins-ci.org/commit/doclinks-plugin/b5a7ca57683da9e274a36b3511532f99fe0fccfd
          Log:
          JENKINS-19456 Added tests for publishing artifacts as documents.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigNoHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocumentHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisherHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/ArtifactDocLinksHudsonTestCase.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/CleanupBuilder.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestFileBuilder.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder.java src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/index.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/test.js src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/default.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/index.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/default.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/index.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/default.htm src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/index.htm http://jenkins-ci.org/commit/doclinks-plugin/b5a7ca57683da9e274a36b3511532f99fe0fccfd Log: JENKINS-19456 Added tests for publishing artifacts as documents.

          Code changed in jenkins
          User: ikedam
          Path:
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/ArtifactDocLinksHudsonTestCase.java
          http://jenkins-ci.org/commit/doclinks-plugin/531785fdbe8d4128dc4d8534fe57329e2d35ef58
          Log:
          JENKINS-19456 Not to set timeout for WebClient used in tests.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/hudson/plugins/doclinks/artifacts/testtools/ArtifactDocLinksHudsonTestCase.java http://jenkins-ci.org/commit/doclinks-plugin/531785fdbe8d4128dc4d8534fe57329e2d35ef58 Log: JENKINS-19456 Not to set timeout for WebClient used in tests.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java
          http://jenkins-ci.org/commit/doclinks-plugin/db52e3ae1a604c1805e59f7fa2c0fa63b292ac62
          Log:
          JENKINS-19456 Improved sending response codes.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java http://jenkins-ci.org/commit/doclinks-plugin/db52e3ae1a604c1805e59f7fa2c0fa63b292ac62 Log: JENKINS-19456 Improved sending response codes.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocumentHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder.java
          http://jenkins-ci.org/commit/doclinks-plugin/ca25b4ed246565775e0ede041ffb477c3eaf64e6
          Log:
          JENKINS-19456 There is a case that a zip file does not contain entries for directories.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocumentHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder.java http://jenkins-ci.org/commit/doclinks-plugin/ca25b4ed246565775e0ede041ffb477c3eaf64e6 Log: JENKINS-19456 There is a case that a zip file does not contain entries for directories.

          Code changed in jenkins
          User: ikedam
          Path:
          pom.xml
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher.java
          src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocsLinksActionBase.java
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction/index.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config_ja.properties
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction/index.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config.jelly
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config_ja.properties
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help.html
          src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help_ja.html
          src/main/resources/hudson/plugins/doclinks/artifacts/Messages.properties
          src/main/resources/hudson/plugins/doclinks/artifacts/Messages_ja.properties
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigNoHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocumentHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisherHudsonTest.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/ArtifactDocLinksHudsonTestCase.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/CleanupBuilder.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestFileBuilder.java
          src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder.java
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/index.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/test.js
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/default.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/index.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/default.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/index.html
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/default.htm
          src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/index.htm
          http://jenkins-ci.org/commit/doclinks-plugin/58d34e22c1600aadf929406c7849867a326f1e5f
          Log:
          Merge pull request #3 from ikedam/feature/JENKINS-19456_ArtifactsDocLinks

          JENKINS-19456 Publish artifacts as documents.

          Compare: https://github.com/jenkinsci/doclinks-plugin/compare/88a98943282b...58d34e22c160

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocument.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher.java src/main/java/hudson/plugins/doclinks/artifacts/ArtifactsDocsLinksActionBase.java src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksAction/index.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/config_ja.properties src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-artifactsPattern_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-indexFile_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-initialPath_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfig/help-title_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksProjectAction/index.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config.jelly src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/config_ja.properties src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help.html src/main/resources/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisher/help_ja.html src/main/resources/hudson/plugins/doclinks/artifacts/Messages.properties src/main/resources/hudson/plugins/doclinks/artifacts/Messages_ja.properties src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksConfigNoHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksDocumentHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/ArtifactsDocLinksPublisherHudsonTest.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/ArtifactDocLinksHudsonTestCase.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/CleanupBuilder.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestFileBuilder.java src/test/java/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder.java src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/index.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/contents/test.js src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/default.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/index.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/default.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir/index.html src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/default.htm src/test/resources/hudson/plugins/doclinks/artifacts/testtools/TestZipBuilder/subdir2/index.htm http://jenkins-ci.org/commit/doclinks-plugin/58d34e22c1600aadf929406c7849867a326f1e5f Log: Merge pull request #3 from ikedam/feature/ JENKINS-19456 _ArtifactsDocLinks JENKINS-19456 Publish artifacts as documents. Compare: https://github.com/jenkinsci/doclinks-plugin/compare/88a98943282b...58d34e22c160
          ikedam ikedam added a comment -

          Added in 0.6.

          ikedam ikedam added a comment - Added in 0.6.
          ikedam ikedam made changes -
          Assignee sogabe [ sogabe ] ikedam [ ikedam ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 150905 ] JNJira + In-Review [ 206916 ]

          People

            ikedam ikedam
            ikedam ikedam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: