Jenkins-info-publish-over-ftp

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.