Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I’m having trouble with jenkins, public over FTP plugin #76

Open
koraykutanoglu opened this issue Jun 8, 2022 · 0 comments
Open

I’m having trouble with jenkins, public over FTP plugin #76

koraykutanoglu opened this issue Jun 8, 2022 · 0 comments

Comments

@koraykutanoglu
Copy link

koraykutanoglu commented Jun 8, 2022

Jenkins and plugins versions report

Jenkins: 2.319.3
OS: Windows 10 - 10.0

publish-over:0.22
publish-over-ftp:1.16
publish-over-ssh:1.24

What Operating System are you using (both controller, and any agents involved in the problem)?

source: Windows 10
destination: Cloudlinux 7 FTP connect (cpanel)

Reproduction steps

  1. firstly I setup the plugin and set up 21 port FTP connections.
  2. I then set up the pipeline.
  3. and start jenkins job.

Below is my pipeline configuration:

pipeline {
    agent any

    stages {
        stage('Hello') {
            steps {
                script {
                echo 'Hello World'
                bat 'dir'
                }
            }
        }
		stage('Publish') {
            steps {
              ftpPublisher alwaysPublishFromMaster: false, continueOnError: false, failOnError: false, paramPublish: [parameterName:""], masterNodeName: '', publishers: [[configName: 'test', transfers: [[asciiMode: false, cleanRemote: false, excludes: '', flatten: false, makeEmptyDirs: true, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/public_html', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '**/*']], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false]]
			  }
        }
    }
}

Expected Results

The result I expected is that all files go to the target directory.

Actual Results

source has 7 directories and these directories also contain files. So there are too many files. The size of these files is 550 MB. However, only 2 directories are completely gone and nothing else is gone.

So the files are missing.

Anything else?

2 directories go successfully and other directories do not. When I examine the console output, the Connection reset expression draws attention. Having trouble sending all the files?

FTP: Connecting from host [buildserver]
FTP: Connecting with configuration [webpanel] ...
FTP: Disconnecting configuration [webpanel] ...
ERROR: Exception when publishing, exception message [Connection reset]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant