-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.19.3 Jenkins docker image. Multijob plugin installed. Jobs executed on SSH slaves.
NOTE: this ticket should be for the 'artifactdeployer' plugin, but it was not available in the Component drop-down.
When specifying "Artifacts to deploy", if I enter "myproject_*", the following help text comes up:
‘myproject_*’ doesn’t match anything, but ‘default/myproject_*’ does. Perhaps that’s what you mean?
The "default" directory is of course automatically created as part of the multiconfiguration job, and is where my myproject_* files actually exist.
But if I take this suggestion and change the value of the "Artifacts to deploy" to "default/myproject_*", zero files are matched.
If I change the "Basedir" field under "Advanced" to "default/", I get the following error when the build completes:
[ArtifactDeployer] - Starting deployment from the post-action ... [ArtifactDeployer] - [ERROR] - Failed to deploy. The basedir path 'default/' from the workspace doesn't exist. FATAL: cannot change build result while in COMPLETED java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:459) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:134) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.access$000(ArtifactDeployerPublisher.java:55) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher$1.endRun(ArtifactDeployerPublisher.java:88) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:220) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:163) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:364) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:313) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404)
If I simply ignore suggestion the plugin gives and use "myproject_*" with no Basedir, things work as expected despite the warning message on the job config screen.
[JENKINS-40308] Path weirdness when using multiconfiguration jobs
Environment | Original: Latest published jenkins docker image. Multijob plugin installed. | New: 2.19.3 Jenkins docker image. Multijob plugin installed. Jobs executed on SSH slaves. |
Description |
Original:
NOTE: this ticket should be fore the 'artifactdeployer' plugin, but it was not available in the Component drop-down. When specifying "Artifacts to deploy", if I enter "myproject_*", the following help text comes up: {code} ‘myproject_*’ doesn’t match anything, but ‘default/myproject_*’ does. Perhaps that’s what you mean? {code} The "default" directory is of course automatically created as part of the multiconfiguration job, and is where my myproject_* files actually exist. But if I take this suggestion and change the value of the "Artifacts to deploy" to "default/myproject_*", zero files are matched. If I change the "Basedir" field under "Advanced" to "default/", I get the following error when the build completes: {code} [ArtifactDeployer] - Starting deployment from the post-action ... [ArtifactDeployer] - [ERROR] - Failed to deploy. The basedir path 'default/' from the workspace doesn't exist. FATAL: cannot change build result while in COMPLETED java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:459) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:134) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.access$000(ArtifactDeployerPublisher.java:55) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher$1.endRun(ArtifactDeployerPublisher.java:88) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:220) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:163) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:364) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:313) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) {code} If I simply ignore suggestion the plugin gives and use "myproject_*" with no Basedir, things work as expected. |
New:
NOTE: this ticket should be for the 'artifactdeployer' plugin, but it was not available in the Component drop-down. When specifying "Artifacts to deploy", if I enter "myproject_*", the following help text comes up: {code} ‘myproject_*’ doesn’t match anything, but ‘default/myproject_*’ does. Perhaps that’s what you mean? {code} The "default" directory is of course automatically created as part of the multiconfiguration job, and is where my myproject_* files actually exist. But if I take this suggestion and change the value of the "Artifacts to deploy" to "default/myproject_*", zero files are matched. If I change the "Basedir" field under "Advanced" to "default/", I get the following error when the build completes: {code} [ArtifactDeployer] - Starting deployment from the post-action ... [ArtifactDeployer] - [ERROR] - Failed to deploy. The basedir path 'default/' from the workspace doesn't exist. FATAL: cannot change build result while in COMPLETED java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:459) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:134) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.access$000(ArtifactDeployerPublisher.java:55) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher$1.endRun(ArtifactDeployerPublisher.java:88) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:220) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:163) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:364) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:313) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) {code} If I simply ignore suggestion the plugin gives and use "myproject_*" with no Basedir, things work as expected. |
Description |
Original:
NOTE: this ticket should be for the 'artifactdeployer' plugin, but it was not available in the Component drop-down. When specifying "Artifacts to deploy", if I enter "myproject_*", the following help text comes up: {code} ‘myproject_*’ doesn’t match anything, but ‘default/myproject_*’ does. Perhaps that’s what you mean? {code} The "default" directory is of course automatically created as part of the multiconfiguration job, and is where my myproject_* files actually exist. But if I take this suggestion and change the value of the "Artifacts to deploy" to "default/myproject_*", zero files are matched. If I change the "Basedir" field under "Advanced" to "default/", I get the following error when the build completes: {code} [ArtifactDeployer] - Starting deployment from the post-action ... [ArtifactDeployer] - [ERROR] - Failed to deploy. The basedir path 'default/' from the workspace doesn't exist. FATAL: cannot change build result while in COMPLETED java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:459) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:134) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.access$000(ArtifactDeployerPublisher.java:55) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher$1.endRun(ArtifactDeployerPublisher.java:88) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:220) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:163) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:364) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:313) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) {code} If I simply ignore suggestion the plugin gives and use "myproject_*" with no Basedir, things work as expected. |
New:
NOTE: this ticket should be for the 'artifactdeployer' plugin, but it was not available in the Component drop-down. When specifying "Artifacts to deploy", if I enter "myproject_*", the following help text comes up: {code} ‘myproject_*’ doesn’t match anything, but ‘default/myproject_*’ does. Perhaps that’s what you mean? {code} The "default" directory is of course automatically created as part of the multiconfiguration job, and is where my myproject_* files actually exist. But if I take this suggestion and change the value of the "Artifacts to deploy" to "default/myproject_*", zero files are matched. If I change the "Basedir" field under "Advanced" to "default/", I get the following error when the build completes: {code} [ArtifactDeployer] - Starting deployment from the post-action ... [ArtifactDeployer] - [ERROR] - Failed to deploy. The basedir path 'default/' from the workspace doesn't exist. FATAL: cannot change build result while in COMPLETED java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:459) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:134) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.access$000(ArtifactDeployerPublisher.java:55) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher$1.endRun(ArtifactDeployerPublisher.java:88) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.notifyEndBuild(DefaultMatrixExecutionStrategyImpl.java:220) at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:163) at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:364) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:313) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404) {code} If I simply ignore suggestion the plugin gives and use "myproject_*" with no Basedir, things work as expected despite the warning message on the job config screen. |
Component/s | New: artifactdeployer-plugin [ 15870 ] | |
Component/s | Original: core [ 21134 ] | |
Key | Original: INFRA-992 | New: JENKINS-40308 |
Workflow | Original: classic default workflow [ 214161 ] | New: JNJira + In-Review [ 214170 ] |
Project | Original: Infrastructure [ 10301 ] | New: Jenkins [ 10172 ] |
Assignee | Original: R. Tyler Croy [ rtyler ] | New: Gregory Boissinot [ gbois ] |