Publish over FTP:
FTP Servers
FTP Server
Name:moz.douins.com
Hostname:moz.douins.com
Username:douins
password:*********
Remote Directory:/
Send build artifacts over FTP
FTP Publishers
FTP Servers:
Name moz.douins.com
Transfers:
Source File:agency-api/target/agencyapi.war
Remove Prefix:agency-api/target
Remote directory:/yyyy-mm-dd/hh-mm-ss ' _${build_number}_${svn_revision} ' [Note:]
[Note:]
The following variables is available to shell scripts
-
-
Build_number
-
The current
-
build number, such as "153"
-
-
build_id
-
-
the current build ID, identical to Build_number for builds created in 1.597+, but a yyyy-mm-dd_hh-mm-ss timestamp fo R Older Builds
-
-
Build_display_name
-
-
the display name of the current build, which are something like "#153" by default.
-
-
Job_name
-
-
Name of the project of this build, such as "foo" or "Foo/bar". (To strip off folder paths from a Bourne shell script, try: ${job_name##*/})
-
-
Build_tag
-
-
String of "jenkins-
${job_name}-
${build_number}". Convenient to put in a resource file, a jar file, etc for easier identification.
-
-
Executor_number
-
The unique number that identifies the current
-
executor (among executors of the same machine) that's carrying out thi s build. This is the number of the "Build executor status", except that the number starts from 0, not 1.
-
-
Node_name
-
-
Name of the slave if the build is on a slave, or "master" if run on master
-
-
Node_labels
-
-
whitespace-separated List of labels
that's the node is assigned.
-
-
WORKSPACE
-
The
-
absolute path of the directory assigned to the build as a workspace.
-
-
Jenkins_home
-
The
-
absolute path of the directory assigned on the master node for Jenkins to store data.
-
-
Jenkins_url
-
Full
-
URL of the Jenkins, like http://server:port/jenkins/ (note:only available if
Jenkins URL Set In System configuration)
-
-
Build_url
-
Full
-
URL of the This build, like http://server:port/jenkins/job/foo/15/ (
Jenkins URL must is set)
-
-
Job_url
-
Full
-
URL of the This job, like http://server:port/jenkins/job/foo/ (
Jenkins URL must is set)
-
-
Svn_revision
-
-
Subversion revision number that's currently checked out to the workspace, such as "12345"
-
-
Svn_url
-
-
Subversion URL That's currently checked
out to the workspace.
Jenkins-info-publish-over-ftp