[JIRA] (JENKINS-16847) Support for copying artifacts from other builds being part of the same MultiJob (previous phases)
Alan Harder assigned JENKINS-16847 to Unassigned Support for copying artifacts from other builds being part of the same MultiJob (previous phases) Please ask on the dev alias for someone to accept the pull request, or to get access so you can submit it yourself, thanks! Change By: Alan Harder (17/Feb/13 10:08 PM) Assignee: AlanHarder This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-16028) COPYARTIFACT_BUILD_NUMBER_ is not set when copyartifact plugin is ran as Maven pre-build
Alan Harder assigned JENKINS-16028 to Unassigned COPYARTIFACT_BUILD_NUMBER_ is not set when copyartifact plugin is ran as Maven pre-build Change By: Alan Harder (04/Dec/12 10:11 PM) Assignee: AlanHarder This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14900) Copying from workspace drops files matching Ant's default excludes
Alan Harder assigned JENKINS-14900 to Unassigned Copying from workspace drops files matching Ants default excludes sorry, haven't worked on jenkins in a couple years Change By: Alan Harder (19/Oct/12 4:17 PM) Assignee: AlanHarder This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15427) Incompatibility of MSBuild and Copy Artifact Plugins
Alan Harder assigned JENKINS-15427 to Unassigned Incompatibility of MSBuild and Copy Artifact Plugins Change By: Alan Harder (07/Oct/12 5:25 PM) Assignee: AlanHarder This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14899) consoleText stops updating at 5000 lines until end of build job
Alan Harder assigned JENKINS-14899 to Unassigned consoleText stops updating at 5000 lines until end of build job Change By: Alan Harder (06/Sep/12 7:42 PM) Assignee: AlanHarder This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14999) Copy Artifact plugin: Unable to find project for artifact copy when using a build parameter
Alan Harder resolved JENKINS-14999 as Not A Defect Copy Artifact plugin: Unable to find project for artifact copy when using a build parameter I think your screenshot shows exactly the situation described in the help.. your project is not accessible to the group for all authenticated users (I think it's called "authenticated", if I remember correctly). Change By: Alan Harder (04/Sep/12 7:13 AM) Status: Open Resolved Resolution: NotADefect This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14999) Copy Artifact plugin: Unable to find project for artifact copy when using a build parameter
Alan Harder commented on JENKINS-14999 Copy Artifact plugin: Unable to find project for artifact copy when using a build parameter No, I mean add a new row for the group called "authenticated" that grants job read permission. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14656) Copy Artifacts plugin cannot copy from upstream build pipeline if build is triggered manually.
Alan Harder commented on JENKINS-14656 Copy Artifacts plugin cannot copy from upstream build pipeline if build is triggered manually. If you trigger the build manually then there is no upstream build, so this is expected. Check the Use "Last successful build" as fallback checkbox to use the last successful build instead of no artifact. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14656) Copy Artifacts plugin cannot copy from upstream build pipeline if build is triggered manually.
Alan Harder resolved JENKINS-14656 as Not A Defect Copy Artifacts plugin cannot copy from upstream build pipeline if build is triggered manually. Change By: Alan Harder (04/Aug/12 3:44 PM) Status: Open Resolved Resolution: NotADefect This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14654) fails to copy artifact from matrix to matrix with label as parameter
Alan Harder commented on JENKINS-14654 fails to copy artifact from matrix to matrix with label as parameter Please read the help text about project name, in particular about project permissions when $variables are used. Does this apply in your setup? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14653) Copy Artifacts plugin does not accept Maven module as Project Name with TriggeredBuildSelector
Alan Harder updated JENKINS-14653 Copy Artifacts plugin does not accept Maven module as Project Name with TriggeredBuildSelector Change By: Alan Harder (04/Aug/12 3:50 PM) Summary: CopyArtifactsplugindoesnotacceptMavenmoduleasProjectName . withTriggeredBuildSelector Assignee: AlanHarder This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13638) Copy artifacts occasionally fail
[ https://issues.jenkins-ci.org/browse/JENKINS-13638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Harder reassigned JENKINS-13638: - Assignee: Kohsuke Kawaguchi (was: Alan Harder) Please include the full error stack trace if it was logged.. there should be a Caused by: with further stack trace following what you posted. Copy artifacts occasionally fail Key: JENKINS-13638 URL: https://issues.jenkins-ci.org/browse/JENKINS-13638 Project: Jenkins Issue Type: Bug Components: copyartifact Affects Versions: current Environment: Jenkins 1.461, Copyartifact 1.22 Reporter: Jason Swager Assignee: Kohsuke Kawaguchi Priority: Blocker Labels: copyartifact, jenkins, plugin Occassionally, copyartifact will fail to copy the proper artifacts, throw and exception, and terminate the build. Suspected cause is concurrent builds attempting to retrieve the same artifacts at the same time. Our setup performs a build, then archives the output to artifacts. Several hundred test jobs will pull down those artifacts to run builds. During a typical build-and-test run, about one third of the test builds will fail trying to retrieve the artifacts. Copying a sample failure from the log files; all failures origina in the same method: FingerprintingCopyMethod.copyOne(): ERROR: Failed to copy artifacts from TIER_1_BUILD_SMOKE with filter: source_settings.ini 09:08:54 hudson.util.IOException2: Failed to copy D:\Jenkins\.jenkins\jobs\TIER_1_BUILD_SMOKE\builds\2012-04-28_09-07-27\archive\source_settings.ini to E:\JenkinsSlave\workspace\BUILD_WINDOWS_ALL\source_settings.ini 09:08:54 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91) 09:08:54 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) 09:08:54 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243) 09:08:54 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215) 09:08:54 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 09:08:54 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) 09:08:54 at hudson.model.Build$RunnerImpl.build(Build.java:178) 09:08:54 at hudson.model.Build$RunnerImpl.doRun(Build.java:139) 09:08:54 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) 09:08:54 at hudson.model.Run.run(Run.java:1434) 09:08:54 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:08:54 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:08:54 at hudson.model.Executor.run(Executor.java:239) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-12918) a job dedicated to copyartifacts from a build specified by a build paramter (ie a run parameter) fails when launched manuallyco
[ https://issues.jenkins-ci.org/browse/JENKINS-12918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162200#comment-162200 ] Alan Harder commented on JENKINS-12918: --- I think there's some confusion on the purpose of the Run parameter.. it is for how to select a build, not about which project.. so this: {{it defines a Run parameter (named IFW) to select a build from the job IFW}} is not possible. You simply define a build selector parameter named IFW and a default value. When you add a Copy Artifact build step to the job you must specify the project to copy from (probably IFW in this case), and then for the build to select you can choose from build parameter and give IFW as the parameter name (using the name IFW for the build parameter is perhaps part of the confusion). I just tried using a run parameter with Jenkins 1.461 and Copy Artifact 1.22, and didn't see any error. If you still see a problem, perhaps try in a different environment or setup and see if you can narrow down what factors cause the error. a job dedicated to copyartifacts from a build specified by a build paramter (ie a run parameter) fails when launched manuallyco - Key: JENKINS-12918 URL: https://issues.jenkins-ci.org/browse/JENKINS-12918 Project: Jenkins Issue Type: Bug Components: copyartifact Environment: Jenkins ver. 1.450 copy artifacts plugin v1.21 Reporter: christopheM Assignee: Alan Harder Attachments: config.xml The tested job is minimalist: - it defines a Run parameter (named IFW) to select a build from the job IFW - it defines a copy artifacts from another project specified by a build parameter, the parameter name beeing IFW, and selectif the followinfg artifacts **/*zip When manually launching the job, selecting the (succesful) last build of the IFW job, I got the following error: FATAL: : only whitespace content allowed before start tag and not h (position: START_DOCUMENT seen h... @1:1) com.thoughtworks.xstream.io.StreamException: : only whitespace content allowed before start tag and not h (position: START_DOCUMENT seen h... @1:1) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:78) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:154) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:147) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:111) at com.thoughtworks.xstream.io.xml.XppReader.init(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:44) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:856) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:848) at hudson.plugins.copyartifact.BuildSelectorParameter.getSelectorFromXml(BuildSelectorParameter.java:81) at hudson.plugins.copyartifact.ParameterizedBuildSelector.getBuild(ParameterizedBuildSelector.java:52) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:164) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not h (position: START_DOCUMENT seen h... @1:1) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) ... 20 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13515) Copy failed on windows machine because of timestamp
[ https://issues.jenkins-ci.org/browse/JENKINS-13515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Harder reassigned JENKINS-13515: - Assignee: Kohsuke Kawaguchi (was: Alan Harder) Copy failed on windows machine because of timestamp --- Key: JENKINS-13515 URL: https://issues.jenkins-ci.org/browse/JENKINS-13515 Project: Jenkins Issue Type: Bug Components: copyartifact Environment: Jenkins ver. 1.460, debian master. XP slave. Reporter: Bertrand Latinville Assignee: Kohsuke Kawaguchi After upgrading Copy artifacts plugin to 1.22 I have some problems of copy on a windows XP slave. Downgrading to 1.21 solves the problem. This is the same issue as https://issues.jenkins-ci.org/browse/JENKINS-11073 ERROR: Failed to copy artifacts from job with filter: **/* hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/(filepath).html to C:\jenkins\workspace\(filepath).html at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:211) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) at hudson.model.Run.run(Run.java:1421) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\(filepath).html at hudson.remoting.Channel@2b0857d2:build-w7 at hudson.FilePath.act(FilePath.java:828) at hudson.FilePath.act(FilePath.java:814) at hudson.FilePath.touch(FilePath.java:1160) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:79) ... 12 more Caused by: java.io.IOException: Failed to set the timestamp of C:\jenkins\workspace\(filepath).html to 1334755712000 at hudson.FilePath$19.invoke(FilePath.java:1166) at hudson.FilePath$19.invoke(FilePath.java:1160) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2154) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Build step 'Copy artifacts from another project' marked build as failure -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13463) Upgraded to 1.21 and now cannot copy from Matrix Builds
[ https://issues.jenkins-ci.org/browse/JENKINS-13463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=161645#comment-161645 ] Alan Harder commented on JENKINS-13463: --- What version of the plugin did you upgrade from? Upgraded to 1.21 and now cannot copy from Matrix Builds --- Key: JENKINS-13463 URL: https://issues.jenkins-ci.org/browse/JENKINS-13463 Project: Jenkins Issue Type: Bug Components: copyartifact Affects Versions: current Environment: openSUSE 11.2 Reporter: Paul Wakefield Assignee: Alan Harder Priority: Blocker Everything was working fine, updated copyartifact to latest and now get the following: Unable to find project for artifact copy: LiDCOHostingSDK/platform=QNX,release=debug This may be due to incorrect project name or permission settings; see help for project name in job configuration. Build step 'Copy artifacts from another project' marked build as failure No Configuration changes. Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-12732) Fingerprint failure in copy artifact 1.21, even though fingerprinting is turned off in my jobs
[ https://issues.jenkins-ci.org/browse/JENKINS-12732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Harder updated JENKINS-12732: -- Assignee: Kohsuke Kawaguchi (was: Alan Harder) Kohsuke or Jørgen, please take a look at this. Fingerprint failure in copy artifact 1.21, even though fingerprinting is turned off in my jobs -- Key: JENKINS-12732 URL: https://issues.jenkins-ci.org/browse/JENKINS-12732 Project: Jenkins Issue Type: Bug Components: copyartifact Environment: Linux Jenkins 1.45 Reporter: Ruth Morgenstein Assignee: Kohsuke Kawaguchi I am copying a large artifact from a previous step and am getting the stack trace below. I downgraded the copyartifact plugin to 1.19 - which does not have this problem. step1 - checkout a git repo into directory pro, then archive pro/** and trigger buildstep2, passing a parmeter step2 - checkout another git repo and then copy artifact from step1 from upstream build that triggered this job Commencing build of Revision 04a5687ef9869a96a488b5be559f5a4a77fec3ba (origin/HEAD) Checking out Revision 04a5687ef9869a96a488b5be559f5a4a77fec3ba (origin/HEAD) Cleaning workspace ERROR: Failed to copy artifacts from branch-pro-step01-checkout-pro with filter: pro/** hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/branch-pro-step01-checkout-pro/builds/2012-02-08_16-31-54/archive/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx to /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:90) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:231) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:203) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.FileNotFoundException: /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:131) at hudson.FilePath$26.call(FilePath.java:1401) at hudson.FilePath$26.call(FilePath.java:1397) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Build step 'Copy artifacts from another project' marked build as failure Archiving artifacts Recording test results Finished: FAILURE -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira