@toptal/davinci-ci 1.13.2-alpha-skip-pr-title-ticket-number-check-for-no-jira-prs-3.1264 → 1.13.3-alpha-fx-add-alpha-package-status-checks.1273
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#970](https://github.com/toptal/davinci/pull/970) [`81238cdd`](https://github.com/toptal/davinci/commit/81238cdd0f8703a72744111969e408a43d1c0fac) Thanks [@ertrzyiks](https://github.com/ertrzyiks)! - skip ticket number check for PRs with no-jira label
|
|
8
|
+
|
|
3
9
|
## 1.13.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-ci",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.3-alpha-fx-add-alpha-package-status-checks.1273+a4c3ce5",
|
|
4
4
|
"description": "Continuos integrations tools for frontend projects",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@commitlint/cli": "^12.1.4",
|
|
34
34
|
"@commitlint/config-conventional": "^12.1.4",
|
|
35
|
-
"@toptal/davinci-cli-shared": "1.3.5-alpha-
|
|
35
|
+
"@toptal/davinci-cli-shared": "1.3.5-alpha-fx-add-alpha-package-status-checks.1273+a4c3ce5",
|
|
36
36
|
"danger": "^10.6.4",
|
|
37
37
|
"markdown-table": "^2.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "a4c3ce551f3753fe5f5463de809f39fa67e15f86"
|
|
40
40
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@Library('globalLibrary@master') _
|
|
2
2
|
|
|
3
|
+
ghHelper = new helpers.GithubNotifyHelper()
|
|
4
|
+
|
|
3
5
|
repositoryUrl = params.GITHUB_REPO_GIT_URL
|
|
4
6
|
pullRequestId = params.GITHUB_PR_NUMBER
|
|
5
7
|
commitId = params.GITHUB_PR_HEAD_SHA
|
|
@@ -43,6 +45,10 @@ pipeline {
|
|
|
43
45
|
stages {
|
|
44
46
|
stage('Git checkout PR') {
|
|
45
47
|
steps {
|
|
48
|
+
script {
|
|
49
|
+
ghHelper.notifyPR('Package alpha release', 'PENDING', 'running', "${commitId}", "${BUILD_URL}", repositoryName)
|
|
50
|
+
}
|
|
51
|
+
|
|
46
52
|
info "== Checking out Git revision ${commitId}"
|
|
47
53
|
|
|
48
54
|
gitCheckout(
|
|
@@ -155,6 +161,8 @@ pipeline {
|
|
|
155
161
|
|
|
156
162
|
comment = "Your alpha package is ready :tada:<br/>" + notes
|
|
157
163
|
gitHubPostComment("${repositoryName}", "${pullRequestId}", comment, GITHUB_TOKEN)
|
|
164
|
+
|
|
165
|
+
ghHelper.notifyPR('Package alpha release', 'SUCCESS', 'Done!', "${commitId}", "${BUILD_URL}", repositoryName)
|
|
158
166
|
}
|
|
159
167
|
}
|
|
160
168
|
}
|
|
@@ -168,6 +176,7 @@ pipeline {
|
|
|
168
176
|
notes = "It looks like publish-alpha-package job failed by some reason."
|
|
169
177
|
comment = "Your alpha package was not released :x:<br/>" + notes
|
|
170
178
|
gitHubPostComment("${repositoryName}", "${pullRequestId}", comment, GITHUB_TOKEN)
|
|
179
|
+
ghHelper.notifyPR('Package alpha release', 'FAILURE', notes, "${commitId}", "${BUILD_URL}", repositoryName)
|
|
171
180
|
}
|
|
172
181
|
}
|
|
173
182
|
|