Skip to content

Commit bb37fdd

Browse files
ci: Update Jenkinsfile
Signed-off-by: 梦里不知身是客 <liang.tang.cx@gmail.com>
1 parent 5d0cb82 commit bb37fdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ pipeline {
3838
stage('Check change') {
3939
when {
4040
expression { currentBuild.previousSuccessfulBuild != null }
41+
// 不是用户手动点击触发的构建
42+
expression { currentBuild.rawBuild.getCause(hudson.model.Cause$UserIdCause) == null }
4143
}
4244
steps {
4345
echo "Current commit: ${GIT_COMMIT}"

0 commit comments

Comments
 (0)