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

Add a feature to configure projects to allow copy artifacts

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            ikedam ikedam created issue -
            ikedam ikedam made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-14999 [ JENKINS-14999 ]
            Hide
            ikedam 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.

            Show
            ikedam 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 ikedam made changes -
            Description 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.
            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.
            Hide
            ikedam ikedam added a comment -
            Show
            ikedam ikedam added a comment - Sent a pull request https://github.com/jenkinsci/copyartifact-plugin/pull/27
            Hide
            scm_issue_link 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.

            Show
            scm_issue_link 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.
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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 ikedam made changes -
            Link This issue is related to JENKINS-21821 [ JENKINS-21821 ]
            Hide
            ikedam ikedam added a comment -

            Released in Copyartifact 1.30.

            Show
            ikedam ikedam added a comment - Released in Copyartifact 1.30.
            ikedam ikedam made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151922 ] JNJira + In-Review [ 207114 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: