mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
webhook默认token
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -15,6 +15,7 @@ pipeline{
|
||||
script: 'date "+%Y-%m-%d-%H-%M-%S"'
|
||||
)}"""
|
||||
|
||||
GIT_REPO_NAME = GIT_URL.split('/')[-1].split('.git')[0]
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +29,7 @@ pipeline{
|
||||
|
||||
causeString: 'Triggered on $ref',
|
||||
|
||||
token: 'coal',
|
||||
token: GIT_REPO_NAME,
|
||||
tokenCredentialId: '',
|
||||
|
||||
printContributedVariables: true,
|
||||
|
||||
Reference in New Issue
Block a user