Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab Community Edition
GitLab Community Edition
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 13,992
    • Issues 13,992
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 803
    • Merge Requests 803
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab Community EditionGitLab Community Edition
  • Issues
  • #24935

Closed
Open
Opened Nov 24, 2016 by Tero Pihlaja@TeroPihlaja
  • Report abuse
  • New issue
Report abuse New issue

Specify variables when running a manual job

Description

When users want to execute manual jobs, they can click on the Play button. Anyway, there is no chance to specify any parameter at that point without affecting the whole project.

There are cases that can benefit from this flow, for example to select one of the possible behavior of the job, or to pass custom values to the application that is going to be deployed.

Proposal

Allow users to specify variables when running a manual job. Users will be asked to enter key/values pairs, and these will be passed to the job overriding possible existing values.

Future improvements

  1. specify "required" variables in the .gitlab-ci.yml file
  2. specify default values for required variables in the .gitlab-ci.yml file
Edited Mar 09, 2018 by Fabio Busatto

Related issues

Assignee
Assign to
Epic
12.0
Milestone
12.0
Assign milestone
Time tracking
None
Due date
No due date
12
Labels
Accepting merge requests Documentation Product Vision 2019 UX Verify ci variables continuous integration customer devops:verify direction feature frontend
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-ce#24935