Class: Fastlane::Actions::AutodevopsAction

Inherits:
Action
  • Object
show all
Defined in:
lib/fastlane/plugin/autodevops/actions/autodevops_action.rb

Class Method Summary collapse

Class Method Details

.authorsObject



15
16
17
# File 'lib/fastlane/plugin/autodevops/actions/autodevops_action.rb', line 15

def self.authors
  ["yaochenfeng"]
end

.available_optionsObject



28
29
30
31
32
33
34
35
36
# File 'lib/fastlane/plugin/autodevops/actions/autodevops_action.rb', line 28

def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :pod_name,
                            env_name: "AUTODEVOPS_POD_NAME",
                         description: "自动化pod名称",
                            optional: true,
                                type: String)
  ]
end

.descriptionObject



11
12
13
# File 'lib/fastlane/plugin/autodevops/actions/autodevops_action.rb', line 11

def self.description
  "自动化"
end

.detailsObject



23
24
25
26
# File 'lib/fastlane/plugin/autodevops/actions/autodevops_action.rb', line 23

def self.details
  # Optional:
  "podapp 自动化处理"
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


38
39
40
41
42
43
44
# File 'lib/fastlane/plugin/autodevops/actions/autodevops_action.rb', line 38

def self.is_supported?(platform)
  # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
  # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
  #
  # [:ios, :mac, :android].include?(platform)
  true
end

.return_valueObject



19
20
21
# File 'lib/fastlane/plugin/autodevops/actions/autodevops_action.rb', line 19

def self.return_value
  # If your method provides a return value, you can describe here what it does
end

.run(params) ⇒ Object



7
8
9
# File 'lib/fastlane/plugin/autodevops/actions/autodevops_action.rb', line 7

def self.run(params)
  UI.message("The autodevops plugin is working!")
end