You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to using the API, you can also trigger a pipeline with parameters from the CircleCI web app. If you pass a parameter when triggering a pipeline from the web app, and the parameter has not been declared in the configuration file, the pipeline will fail with the error `Unexpected argument(s)`.
118
118
119
-
1. Use the project filter to select the desired project
120
-
2. Use the branch filter to select the branch on which you want to run the new pipeline
121
-
3. Click the **Trigger Pipeline** button (towards the top right corner of the page)
122
-
4. Use the **Add Parameters** dropdown to specify the type, name, and value of your desired parameters
123
-
5. Click **Trigger Pipeline**
119
+
1. Use the project filter to select the desired project.
120
+
2. Use the branch filter to select the branch on which you want to run the new pipeline.
121
+
3. Click the **Trigger Pipeline** button (towards the top right corner of the page).
122
+
4. Use the **Add Parameters** dropdown to specify the type, name, and value of your desired parameters.
123
+
5. Click **Trigger Pipeline**.
124
124
125
-
Parameters can also be called when setting up a scheduled pipeline in the web app. The parameters are part of the trigger form. Any parameter set up as a part of a scheduled pipeline will also need to be declared in the configuration file, otherwise the the pipeline will fail with the error `Unexpected argument(s)`.
125
+
Parameters can also be called when setting up a scheduled pipeline in the web app. The parameters are part of the trigger form in **Project Settings > Triggers**. Any parameter set up as a part of a scheduled pipeline will also need to be declared in the configuration file, otherwise the the pipeline will fail with the error `Unexpected argument(s)`.
126
126
127
127
## Configuration processing stages
128
128
{: #configuration-processing-stages }
@@ -138,7 +138,7 @@ The remaining configuration is processed, element parameters are resolved, type-
138
138
## The scope of pipeline parameters
139
139
{: #the-scope-of-pipeline-parameters }
140
140
141
-
Pipeline parameters can only be resolved in the `.circleci/config.yml` file in which they are declared. Pipeline parameters are not available in orbs, including orbs declared locally in your `.circleci/config.yml` file. This is because access to pipeline scope in orbs would break encapsulation and create a hard dependency between the orb and the calling configuration. This would potentially jeopardize determinism and create a surface area of vulnerability.
141
+
Pipeline parameters can only be resolved in the `.circleci/config.yml` file in which they are declared. Pipeline parameters are not available in orbs, including orbs declared locally in your `.circleci/config.yml` file. This is because access to pipeline scope in orbs would break encapsulation and create a hard dependency between the orb and the calling configuration. This would potentially create a surface area of vulnerability, increasing security risks.
Copy file name to clipboardExpand all lines: jekyll/_cci2/scheduled-pipelines.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,12 @@ contentTags:
10
10
11
11
**Scheduled pipelines are currently available for GitHub and Bitbucket VCS users.** Scheduled pipelines allow you to trigger pipelines periodically based on a schedule. Scheduled pipelines retain all the features of pipelines:
12
12
13
-
- Control the actor (yourself, or the scheduling system) associated with the pipeline, which can enable the use of [restricted contexts](/docs/contexts/#project-restrictions)
14
-
- Use [dynamic config](/docs/dynamic-config) via setup workflows
15
-
- Modify the schedule without having to edit `.circleci/config.yml`
16
-
- Take advantage of [auto-cancelling](/docs/skip-build/#auto-cancelling)
17
-
- Specify [pipeline parameters](/docs/pipeline-variables/#pipeline-parameters-in-configuration) associated with a schedule
18
-
- Manage common schedules, for example, across workflows
13
+
- Control the actor (yourself, or the scheduling system) associated with the pipeline, which can enable the use of [restricted contexts](/docs/contexts/#project-restrictions).
14
+
- Use [dynamic config](/docs/dynamic-config) via setup workflows.
15
+
- Modify the schedule without having to edit `.circleci/config.yml`.
16
+
- Take advantage of [auto-cancelling](/docs/skip-build/#auto-cancelling).
17
+
- Specify [pipeline parameters](/docs/pipeline-variables/#pipeline-parameters-in-configuration) associated with a schedule.
18
+
- Manage common schedules, for example, across workflows.
19
19
20
20
Scheduled pipelines are configured through the API, or through the project settings in the CircleCI web app.
0 commit comments