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
Copy file name to clipboardExpand all lines: README.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,17 @@
1
+
# app-devops-gitlab
2
+
3
+
New repository for developing a plugin to integrate between ITSM DevOps and GitLab pipelines
4
+
5
+
### Owners
6
+
7
+
> ramachandrarao.p
8
+
9
+
### How to build on Jenkins
10
+
* Create a `pom.xml` file at the root level
11
+
* Go to the [BT1 Service Catalog](https://buildtools1.service-now.com/nav_to.do?uri=%2Fcom.glideapp.servicecatalog_cat_item_view.do%3Fv%3D1%26sysparm_id%3D9dbd0c54db1acb403a3d5dd5ce961948%26sysparm_link_parent%3Dad2fecb72bfc310052f7c71317da157e%26sysparm_catalog%3De0d08b13c3330100c8b837659bba8fb4%26sysparm_catalog_view%3Dess%26sysparm_view%3Dess) to request a Jenkins job
12
+
13
+
Once the request is processed, a multi-branch job is created on https://buildmaster-hotel.devsnc.com and will build any branches that match [ServiceNow branch naming convention](https://buildtools1.service-now.com/kb_view_customer.do?sysparm_article=KB0528607).
14
+
1
15
# CLI example using npm modules
2
16
3
17
## Build and install
@@ -75,7 +89,7 @@ package:
75
89
image: servicenowdocker/sndevops-cli:0.35
76
90
script:
77
91
- sndevopscli create artifact -a '[{"name":"artifact-name-$CI_JOB_ID","repositoryName":"artifact-repo-name" ,"version":"1.3.0"}]'
78
-
- sndevopscli create package -n "package-mame" -a '[{"name":"artifact-name-$CI_JOB_ID","repositoryName":"artifact-repo-name" ,"version":"1.3.0"}]
92
+
- sndevopscli create package -n "package-name" -a '[{"name":"artifact-name-$CI_JOB_ID","repositoryName":"artifact-repo-name" ,"version":"1.3.0"}]
79
93
80
94
```
81
95
@@ -116,3 +130,17 @@ ServiceNow DevOps Change:
116
130
117
131
```
118
132
133
+
**Example of sonar summary for ServiceNow via commandline**
console.log('\n \x1b[1m\x1b[36m'+"The job is under change control. A callback request is created and polling has been started to retrieve the change info."+'\x1b[0m\x1b[0m');
156
158
}
157
159
}
158
160
}catch(error){
@@ -348,13 +350,14 @@ class ChangeRequestManager extends SnDevopsApi {
0 commit comments