File tree Expand file tree Collapse file tree
content/manuals/scout/integrations/environment Expand file tree Collapse file tree Original file line number Diff line number Diff 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```
You can’t perform that action at this time.
0 commit comments