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

Executable permission of archived artifact is not preserved

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have a multi-configuration build where I archive the artifacts and, once the build is promoted, use the Execute shell promotion action to executed an archived shell script. But while the script has the executable permission in the workspace (where it’s a bad idea to execute it, however), it looses the permission in the matrix configuration’s archive folder:
      + ls -l /home/hudson/genie.recommenders/.jenkins/jobs/org.eclipse.recommenders.privacy/workspace/tools/hudson
      total 4
      -rwxrwxr-x 1 genie.recommenders technology.recommenders 955 Jan 15 10:33 publish-repository.sh
      + ls -l /home/hudson/genie.recommenders/.jenkins/jobs/org.eclipse.recommenders.privacy/workspace/simrel/mars/toolchain/JavaSE-1.7/tools/hudson
      total 4
      -rwxrwxr-x 1 genie.recommenders technology.recommenders 955 Jan 15 10:35 publish-repository.sh
      + ls -l /home/hudson/genie.recommenders/.jenkins/jobs/org.eclipse.recommenders.privacy/configurations/axis-simrel/mars/axis-toolchain/JavaSE-1.7/builds/1148/archive/tools/hudson
      total 4
      rw-rw-r- 1 genie.recommenders technology.recommenders 955 Jan 16 08:49 publish-repository.sh
      I consider this to be a bug.

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            AFAICT it is not specific to Promoted Builds and duplicates JENKINS-13128. Please reopen if you see any specific behavior in Promoted Builds which affects it

            Show
            oleg_nenashev Oleg Nenashev added a comment - AFAICT it is not specific to Promoted Builds and duplicates JENKINS-13128 . Please reopen if you see any specific behavior in Promoted Builds which affects it

              People

              Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              sewe Andreas Sewe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: