awslabs / aws-codedeploy-plugin

Jenkins plugin for AWS CodeDeploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java.io.FileNotFoundException: /mnt/xxxxxx/workspace/<repo_path>/<job_name> (Is a directory)

txynidakis opened this issue · comments

Hi

Can some assist me to find out what the issue is with the plugin

Jenkins: V2.176.2
Plugin version: 1.21

I've tried to remove the trailing / from the sub directory field with no luck

the Jenkins job DOES run and CodeDeploy successfully completes, but would like to know what is going on.

Apologies in advanced but I'm not a java developer

java.io.FileNotFoundException: /mnt/xxxxxx/workspace/<repo_path>/<job_name> (Is a directory)
        at java.io.FileInputStream.open0(Native Method)
       at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at com.amazonaws.codedeploy.AWSCodeDeployPublisher.zipAndUpload(AWSCodeDeployPublisher.java:311)
        at com.amazonaws.codedeploy.AWSCodeDeployPublisher.perform(AWSCodeDeployPublisher.java:233)
        at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
        at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
        at hudson.model.Build$BuildExecution.post2(Build.java:186)
        at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
        at hudson.model.Run.execute(Run.java:1843)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)