awslabs / aws-codepipeline-plugin-for-jenkins

Use this plugin to integrate your Jenkins project with a pipeline in AWS CodePipeline. For more information and step-by-step directions on how to install and configure this plugin, follow the Four Stage Pipeline Tutorial. http://docs.aws.amazon.com/codepipeline/latest/userguide/getting-started-4.html
Apache License 2.0
82 stars 68 forks source link

The number of output artifacts do not match #33

Closed samd2 closed 5 years ago

samd2 commented 5 years ago

Just a quick bug report, which can be closed if it's erroneous.

Attempted to use CodePipeline Publisher plugin. Left Output Locations, Output Location, Artifact Name - blank. Empty.
Ran Pipeline. Error: "Failed to upload output artifact(s): The number of output artifacts in the Jenkins project and in the pipeline action do not match. Configure the output locations of your Jenkins project to match the pipeline action's output artifacts. Number of output locations in Jenkins project: 0, number of output artifacts in the pipeline action: 1"

Changed Location to / , instead of blank. Then it worked.

Possible re-confirmation of the issue? June 18, 2018, #jenkins IRC logs:

[20:16:18] Getting this error on Jenkins with AWS CodePipeLine any thoughts? "Failed to upload output artifact(s): The number of output artifacts in the Jenkins project and in the pipeline action do not match. Configure the output locations of your Jenkins project to match the pipeline action's output artifacts. Number of output locations in Jenkins project: 0, number of output artifacts in the pipeline action: 1"

samd2 commented 5 years ago

Well, it is working now. The most likely explanation, although I really believed that I had set this - is the difference between the plugin with no output locations configured, compared to an empty output location configured. And, rebooted the server. If anyone ever gets the same error, please comment in the thread. Closing for now.

ghost commented 5 years ago

The number of output artifacts in the Jenkins project and in the pipeline action do not match. Configure the output locations of your Jenkins project to match the pipeline action's output artifacts. Number of output locations in Jenkins project: 1, number of output artifacts in the pipeline action: 0 [Pipeline: windows-pipeline, stage: Build, action: build].

shubham1061 commented 1 month ago

getting the same error