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

Add a feature to configure projects to allow copy artifacts

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • copyartifact-plugin
    • None

      For details, see JENKINS-14999.

      Add an option to ignore access permissions (that is, allow to access) when copying artifacts.
      This should be designed to work only when the project copied from is configured to allow it.

      • Add a new job property to specify projects whose builds are allowed to access artifacts of the project.
      • If that job property is configured, decide whether to copy the artifact depending on that configuration.

          [JENKINS-20398] Add a feature to configure projects to allow copy artifacts

          ikedam added a comment -

          QueueItemAuthenticator (was ProjectAuthenticator) may conflicts with this idea. See e3a1a78f for details about QueueItemAuthenticator.
          But QueueItemAuthenticator is not so easy to use as configurations of QueueItemAuthenticator should be allowed to change only by administrators.

          ikedam added a comment - QueueItemAuthenticator (was ProjectAuthenticator ) may conflicts with this idea. See e3a1a78f for details about QueueItemAuthenticator . But QueueItemAuthenticator is not so easy to use as configurations of QueueItemAuthenticator should be allowed to change only by administrators.

          ikedam added a comment -

          ikedam added a comment - Sent a pull request https://github.com/jenkinsci/copyartifact-plugin/pull/27

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
          src/main/java/hudson/plugins/copyartifact/CopyArtifactPermissionProperty.java
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config.jelly
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config_ja.properties
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames_ja.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help_ja.html
          src/main/resources/hudson/plugins/copyartifact/Messages.properties
          src/main/resources/hudson/plugins/copyartifact/Messages_ja.properties
          src/test/java/hudson/plugins/copyartifact/CopyArtifactPermissionPropertyTest.java
          src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
          src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/config.xml
          src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/users/test1/config.xml
          http://jenkins-ci.org/commit/copyartifact-plugin/224a9b39b22cd409dc56faa9a6889d232ce7aa2b
          Log:
          [FIXED JENKINS-20398] Added CopyArtifactPermissionProperty, which define projects that can copy artifacts.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/CopyArtifactPermissionProperty.java src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config.jelly src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config_ja.properties src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames.html src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames_ja.html src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help.html src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help_ja.html src/main/resources/hudson/plugins/copyartifact/Messages.properties src/main/resources/hudson/plugins/copyartifact/Messages_ja.properties src/test/java/hudson/plugins/copyartifact/CopyArtifactPermissionPropertyTest.java src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/users/test1/config.xml http://jenkins-ci.org/commit/copyartifact-plugin/224a9b39b22cd409dc56faa9a6889d232ce7aa2b Log: [FIXED JENKINS-20398] Added CopyArtifactPermissionProperty, which define projects that can copy artifacts.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
          src/main/java/hudson/plugins/copyartifact/CopyArtifactPermissionProperty.java
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config.jelly
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config_ja.properties
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames_ja.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help_ja.html
          src/main/resources/hudson/plugins/copyartifact/Messages.properties
          src/main/resources/hudson/plugins/copyartifact/Messages_ja.properties
          src/test/java/hudson/plugins/copyartifact/CopyArtifactPermissionPropertyTest.java
          src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
          src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/config.xml
          src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/users/test1/config.xml
          http://jenkins-ci.org/commit/copyartifact-plugin/f81b6ac3274bfb811b7fd1bda694feff3c1b0c8a
          Log:
          Merge pull request #27 from ikedam/feature/JENKINS-20398_CopyPermission

          JENKINS-20398 Job Property to define projects that can copy artifacts

          Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/ddb5694d4009...f81b6ac3274b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/CopyArtifactPermissionProperty.java src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config.jelly src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/config_ja.properties src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames.html src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help-projectNames_ja.html src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help.html src/main/resources/hudson/plugins/copyartifact/CopyArtifactPermissionProperty/help_ja.html src/main/resources/hudson/plugins/copyartifact/Messages.properties src/main/resources/hudson/plugins/copyartifact/Messages_ja.properties src/test/java/hudson/plugins/copyartifact/CopyArtifactPermissionPropertyTest.java src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testCopyArtifactPermissionProperty/users/test1/config.xml http://jenkins-ci.org/commit/copyartifact-plugin/f81b6ac3274bfb811b7fd1bda694feff3c1b0c8a Log: Merge pull request #27 from ikedam/feature/ JENKINS-20398 _CopyPermission JENKINS-20398 Job Property to define projects that can copy artifacts Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/ddb5694d4009...f81b6ac3274b

          ikedam added a comment -

          Released in Copyartifact 1.30.

          ikedam added a comment - Released in Copyartifact 1.30.

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

              Created:
              Updated:
              Resolved: