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

Prevent localPath with not value for library deployment

      Actually, When the plugin transfers a library to the remote server, it uses the localPath defined in the configuration.xml.

      If no value is set, the plugins try to download to null/....

      The improvement is to fail the deploy fir library if localPath is not defined and add a warning to ask the user to set a correct localPath.

          [JENKINS-36524] Prevent localPath with not value for library deployment

          Raphael CHAUMIER created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173237 ] New: JNJira + In-Review [ 185012 ]
          Raphael CHAUMIER made changes -
          Labels New: weblogic-deployer-plugin-3.6
          Raphael CHAUMIER made changes -
          Labels Original: weblogic-deployer-plugin-3.6
          Raphael CHAUMIER made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Raphael CHAUMIER made changes -
          Description Original: Actually, When the plugin transfers a library to the remote server, it uses the localPath defined in the configuration.xml.

          If no value is set, the plugins try to download to null/....

          The improvement is to use a default localPath when no value is set and add a warning in the log file
          New: Actually, When the plugin transfers a library to the remote server, it uses the localPath defined in the configuration.xml.

          If no value is set, the plugins try to download to null/....

          The improvement is to use a default localPath when no value is set and add a warning in the log file

          The temp directory will be used by default.
          Raphael CHAUMIER made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Raphael CHAUMIER made changes -
          Description Original: Actually, When the plugin transfers a library to the remote server, it uses the localPath defined in the configuration.xml.

          If no value is set, the plugins try to download to null/....

          The improvement is to use a default localPath when no value is set and add a warning in the log file

          The temp directory will be used by default.
          New: Actually, When the plugin transfers a library to the remote server, it uses the localPath defined in the configuration.xml.

          If no value is set, the plugins try to download to null/....

          The improvement is to use a default localPath when no value is set and add a warning in the log file

          The temp directory will be used by default.

          The plugin uses org.apache.commons.net.ftp.FTPClient.

          line 55 FTPUtils

          if(! ftpClient.storeFile(transfertConfiguration.getRemoteFilePath(), localFileToTransfert)) {
          Raphael CHAUMIER made changes -
          Labels New: weblogic-deployer_plugin_4.0
          Raphael CHAUMIER made changes -
          Description Original: Actually, When the plugin transfers a library to the remote server, it uses the localPath defined in the configuration.xml.

          If no value is set, the plugins try to download to null/....

          The improvement is to use a default localPath when no value is set and add a warning in the log file

          The temp directory will be used by default.

          The plugin uses org.apache.commons.net.ftp.FTPClient.

          line 55 FTPUtils

          if(! ftpClient.storeFile(transfertConfiguration.getRemoteFilePath(), localFileToTransfert)) {
          New: Actually, When the plugin transfers a library to the remote server, it uses the localPath defined in the configuration.xml.

          If no value is set, the plugins try to download to null/....

          The improvement is to use a default localPath when no value is set and add a warning in the log file

          The temp directory will be used by default.

          The plugin uses org.apache.commons.net.ftp.FTPClient.

          line 55 FTPUtils

          if(! ftpClient.storeFile(transfertConfiguration.getRemoteFilePath(), localFileToTransfert)) \{

           

           

           

          Ajouter une trace dans les logs pour faciliter l'analyse.

            raphc Raphael CHAUMIER
            raphc Raphael CHAUMIER
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: