variable "folder" {
  type        = string
  description = "The folder namespace to store the job in."
  default     = ""
}

variable "github_repository_name" {
  type        = string
  description = "Gtihub repository name."
}

variable "github_repository_ssh_url" {
  type        = string
  description = "Github repository SSH url."
}

variable "github_ssh_credentials_id" {
  type        = string
  description = "Github SSH credentials."
  default     = "theorchard-ci-ssh-key"
}

variable "jenkins_job_name" {
  type        = string
  description = "Job name, default to repository name."
  default     = ""
}

variable "jenkinsfile_path" {
  type        = string
  description = "Path to Jenkinsfile"
  default     = "Jenkinsfile"
}

variable "jenkinsfile_branch" {
  type        = string
  description = "Branch with Jenkinsfile"
  default     = "develop"
}

variable "disabled" {
  type        = bool
  description = "Enable or disable job."
  default     = false
}

variable "schedule_expression" {
  type        = string
  description = "This value follows the syntax of cron (with minor differences). Specifically, each line consists of 5 fields separated by TAB or whitespace:"
}
