we have seen the azure-function-plugin to deploy broken/crippled files. We are quite sure they are fine inside our git/jenkins.

      After the deployment we found that two files had been stripped in the middle of a line. therefor the function-app broke with some files having bad content.

      Jenkins job went fine.

      git log -p on the azure scm "shado" repo uncovered a broken commit.

          [JENKINS-59698] file crippled during deploy

          Jie Shen added a comment -

          Which language does the target application use? This plugin will use different deployment strategies to deploy applications according to their language.

          Jie Shen added a comment - Which language does the target application use? This plugin will use different deployment strategies to deploy applications according to their language.

          nodejs, git deployment strategy

          Peter Niederlag added a comment - nodejs, git deployment strategy

          Nitin Biradar added a comment -

          I am seeing a similar issue where the file is crippled during deploy, but the status of the deployment is all green.

          Observation:

          • The file is present in the right state in .azure-deploy folder (created by the plugin)
          • The file is crippled in .azure-deploy repo (local repo created by the plugin)
          • The file is crippled in remote repo. (functions remote repo) 

          App : nodejs

          Deploy Strategy : git

          Nitin Biradar added a comment - I am seeing a similar issue where the file is crippled during deploy, but the status of the deployment is all green. Observation : The file is present in the right state in .azure-deploy folder (created by the plugin) The file is crippled in .azure-deploy repo (local repo created by the plugin) The file is crippled in remote repo. (functions remote repo)  App : nodejs Deploy Strategy : git

          Nitin Biradar added a comment -

          The changes from this PR (mostly pulled from Azure App Service Plugin) has helped fix the issue - https://github.com/jenkinsci/azure-function-plugin/pull/17 .

          jieshe - Could you please look at this ?

          Nitin Biradar added a comment - The changes from this PR (mostly pulled from Azure App Service Plugin) has helped fix the issue - https://github.com/jenkinsci/azure-function-plugin/pull/17  . jieshe - Could you please look at this ?

            jieshe Jie Shen
            jugglefish Peter Niederlag
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: