pantograph/lib/pantograph/actions/artifactory.rb in pantograph-0.1.12 vs pantograph/lib/pantograph/actions/artifactory.rb in pantograph-0.1.13
- old
+ new
@@ -69,11 +69,11 @@
username: "username",
password: "password",
endpoint: "https://artifactory.example.com/artifactory/",
file: "example.ipa", # File to upload
repo: "angular_artifacts", # Artifactory repo
- repo_path: "/ios/appname/example-major.minor.ipa" # Path to place the artifact including its filename
+ repo_path: "/project/appname/example-major.minor.jar" # Path to place the artifact including its filename
)'
]
end
def self.category
@@ -81,73 +81,73 @@
end
def self.available_options
[
PantographCore::ConfigItem.new(key: :file,
- env_name: "FL_ARTIFACTORY_FILE",
+ env_name: "ARTIFACTORY_FILE",
description: "File to be uploaded to artifactory",
optional: false),
PantographCore::ConfigItem.new(key: :repo,
- env_name: "FL_ARTIFACTORY_REPO",
+ env_name: "ARTIFACTORY_REPO",
description: "Artifactory repo to put the file in",
optional: false),
PantographCore::ConfigItem.new(key: :repo_path,
- env_name: "FL_ARTIFACTORY_REPO_PATH",
+ env_name: "ARTIFACTORY_REPO_PATH",
description: "Path to deploy within the repo, including filename",
optional: false),
PantographCore::ConfigItem.new(key: :endpoint,
- env_name: "FL_ARTIFACTORY_ENDPOINT",
+ env_name: "ARTIFACTORY_ENDPOINT",
description: "Artifactory endpoint",
optional: false),
PantographCore::ConfigItem.new(key: :username,
- env_name: "FL_ARTIFACTORY_USERNAME",
+ env_name: "ARTIFACTORY_USERNAME",
description: "Artifactory username",
optional: false),
PantographCore::ConfigItem.new(key: :password,
- env_name: "FL_ARTIFACTORY_PASSWORD",
+ env_name: "ARTIFACTORY_PASSWORD",
description: "Artifactory password",
sensitive: true,
optional: false),
PantographCore::ConfigItem.new(key: :properties,
- env_name: "FL_ARTIFACTORY_PROPERTIES",
+ env_name: "ARTIFACTORY_PROPERTIES",
description: "Artifact properties hash",
is_string: false,
default_value: {},
optional: true),
PantographCore::ConfigItem.new(key: :ssl_pem_file,
- env_name: "FL_ARTIFACTORY_SSL_PEM_FILE",
+ env_name: "ARTIFACTORY_SSL_PEM_FILE",
description: "Location of pem file to use for ssl verification",
default_value: nil,
optional: true),
PantographCore::ConfigItem.new(key: :ssl_verify,
- env_name: "FL_ARTIFACTORY_SSL_VERIFY",
+ env_name: "ARTIFACTORY_SSL_VERIFY",
description: "Verify SSL",
is_string: false,
default_value: true,
optional: true),
PantographCore::ConfigItem.new(key: :proxy_username,
- env_name: "FL_ARTIFACTORY_PROXY_USERNAME",
+ env_name: "ARTIFACTORY_PROXY_USERNAME",
description: "Proxy username",
default_value: nil,
optional: true),
PantographCore::ConfigItem.new(key: :proxy_password,
- env_name: "FL_ARTIFACTORY_PROXY_PASSWORD",
+ env_name: "ARTIFACTORY_PROXY_PASSWORD",
description: "Proxy password",
sensitive: true,
default_value: nil,
optional: true),
PantographCore::ConfigItem.new(key: :proxy_address,
- env_name: "FL_ARTIFACTORY_PROXY_ADDRESS",
+ env_name: "ARTIFACTORY_PROXY_ADDRESS",
description: "Proxy address",
default_value: nil,
optional: true),
PantographCore::ConfigItem.new(key: :proxy_port,
- env_name: "FL_ARTIFACTORY_PROXY_PORT",
+ env_name: "ARTIFACTORY_PROXY_PORT",
description: "Proxy port",
default_value: nil,
optional: true),
PantographCore::ConfigItem.new(key: :read_timeout,
- env_name: "FL_ARTIFACTORY_READ_TIMEOUT",
+ env_name: "ARTIFACTORY_READ_TIMEOUT",
description: "Read timeout",
default_value: nil,
optional: true)
]
end