Skip to content

Commit 4072725

Browse files
docs: fix Jenkins example comment and syntax in Scout environment guide
1 parent c6fb967 commit 4072725

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • content/manuals/scout/integrations/environment

content/manuals/scout/integrations/environment/cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ stages:
113113
{{< tab name="Jenkins" >}}
114114

115115
```groovy
116-
stage('Analyze image') {
116+
stage('Record environment') {
117117
steps {
118118
// Install Docker Scout
119119
sh 'curl -sSfL https://raw.githubusercontent.com/docker/scout-cli/main/install.sh | sh -s -- -b /usr/local/bin'
120120
121121
// Log into Docker Hub
122122
sh 'echo $DOCKER_SCOUT_HUB_PASSWORD | docker login -u $DOCKER_SCOUT_HUB_USER --password-stdin'
123123
124-
// Analyze and fail on critical or high vulnerabilities
125-
sh 'docker-scout environment --org "<MY_DOCKER_ORG>" "<ENVIRONMENT>" $IMAGE_TAG
124+
// Record image to environment
125+
sh 'docker-scout environment --org "<MY_DOCKER_ORG>" "<ENVIRONMENT>" $IMAGE_TAG'
126126
}
127127
}
128128
```

0 commit comments

Comments
 (0)