Skip to content

Commit

Permalink
STRY56640560: Changed the README.md file (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
smruti-mishra-sn authored Feb 23, 2024
1 parent 708504c commit 6a23b88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ npm unlink .
### Building Docker Image

```sh
docker build -t servicenowdocker/sndevops:3.1 .
docker build -t servicenowdocker/sndevops:3.1.0 .
```

```sh
docker push servicenowdocker/sndevops:3.1
docker push servicenowdocker/sndevops:3.1.0
```

## Integrating with GitLab
Expand All @@ -95,7 +95,7 @@ stages:

package:
stage: package
image: servicenowdocker/sndevops:3.1
image: servicenowdocker/sndevops:3.1.0
script:
- sndevopscli create artifact -a '[{"name":"artifact-name-$CI_JOB_ID","repositoryName":"artifact-repo-name" ,"version":"1.3.0"}]'
- sndevopscli create package -n "package-name" -a '[{"name":"artifact-name-$CI_JOB_ID","repositoryName":"artifact-repo-name" ,"version":"1.3.0"}]
Expand All @@ -107,7 +107,7 @@ stages:

package:
stage: package
image: servicenowdocker/sndevops:3.1
image: servicenowdocker/sndevops:3.1.0
script:
- sndevopscli create artifact -u <serviceno-url> -t <tool-id> --token <tool-token> -a '[{"name":"artifact-name-$CI_JOB_ID","repositoryName":"artifact-repo-name" ,"version":"1.3.0"}]'
- sndevopscli create package -u <serviceno-url> -t <tool-id> --token <tool-token> -n "package-mame" -a '[{"name":"artifact-name-$CI_JOB_ID","repositoryName":"artifact-repo-name" ,"version":"1.3.0"}]
Expand All @@ -131,7 +131,7 @@ stages:

ServiceNow DevOps Change:
stage: DevOpsChangeApproval
image: servicenowdocker/sndevops:3.1
image: servicenowdocker/sndevops:3.1.0
script:
- sndevopscli create change -p '{"changeStepDetails":{"timeout":3600,"interval":100},"attributes":{"short_description":"Automated Software Deployment","description":"Automated Software Deployment.","assignment_group":"XXXXXXX","implementation_plan":"Software update is tested and results can be found in Test Summaries Tab.","backout_plan":"When software fails in production, the previous software release will be re-deployed.","test_plan":"Testing if the software was successfully deployed or not"}}'

Expand Down Expand Up @@ -161,7 +161,7 @@ stages:

ServiceNow DevOps Sonar Scan Results:
stage: DevOpsSonarStage
image: servicenowdocker/sndevops:3.1
image: servicenowdocker/sndevops:3.1.0
script:
- sndevopscli create sonar -url 'https://sonarcloud.io' -projectKey 'xxxxxxx'

Expand Down
2 changes: 1 addition & 1 deletion gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: servicenowdocker/sndevops:3.1
image: servicenowdocker/sndevops:3.1.0
stages:
- pre-build
- build
Expand Down

0 comments on commit 6a23b88

Please sign in to comment.