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

Can't use variables in "Cloud Formation recipe file. (.json)" field

XMLWordPrintable

      FATAL: /var/lib/jenkins/workspace/generate-templates/build/cftemplates/${TEMPLATE_BODY} (No such file or directory)
      java.io.FileNotFoundException: /var/lib/jenkins/workspace/generate-templates/build/cftemplates/${TEMPLATE_BODY} (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:146)
      at hudson.FilePath.read(FilePath.java:1752)
      at hudson.FilePath.readToString(FilePath.java:1853)
      at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep.newCloudFormation(CloudFormationBuildStep.java:103)
      at com.syncapse.jenkinsci.plugins.awscloudformationwrapper.CloudFormationBuildStep.perform(CloudFormationBuildStep.java:77)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.Build$BuildExecution.build(Build.java:205)
      at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      at hudson.model.Run.execute(Run.java:1744)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Finished: FAILURE

            edovale edovale
            vltk Vladislav Tkatchev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: