Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12629

Paramedic should pass `--no-update-notifier` arg to cordova commands

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master
    • None
    • cordova-paramedic
    • Windows 10

    Description

      It seems that Cordova update notifier can be unstable when used in CI environment:
      http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-console-toolset/lastFailedBuild/CORDOVA=6.3.1,PLATFORM=android-5.1/console

      E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\q\q.js:126
                          throw e;
                          ^
      
      Error: EPERM: operation not permitted, rename 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json.1289448598' -> 'C:\Users\jenkins\.config\configstore\update-notifier-cordova.json'
          at Error (native)
          at Object.fs.renameSync (fs.js:681:18)
          at Function.writeFileSync [as sync] (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\node_modules\write-file-atomic\index.js:95:8)
          at Object.create.all.set (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:62:21)
          at Object.Configstore (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\node_modules\configstore\index.js:27:11)
          at new UpdateNotifier (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:34:17)
          at module.exports (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\node_modules\update-notifier\index.js:123:23)
          at checkForUpdates (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:67:24)
          at cli (E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:246:5)
          at E:\jenkins\workspace\cordova-plugin-console-toolset\CORDOVA\6.3.1\PLATFORM\android-5.1\6.3.1\node_modules\cordova\src\cli.js:143:16
      

      Attachments

        Activity

          People

            alsorokin Alexander Sorokin
            alsorokin Alexander Sorokin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: