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,7 +15,6 @@ pipeline{
|
|||||||
script: 'date "+%Y-%m-%d-%H-%M-%S"'
|
script: 'date "+%Y-%m-%d-%H-%M-%S"'
|
||||||
)}"""
|
)}"""
|
||||||
|
|
||||||
GIT_REPO_NAME = GIT_URL.split('/')[-1].split('.git')[0]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -29,7 +28,7 @@ pipeline{
|
|||||||
|
|
||||||
causeString: 'Triggered on $ref',
|
causeString: 'Triggered on $ref',
|
||||||
|
|
||||||
token: GIT_REPO_NAME,
|
token: GIT_URL.split('/')[-1].split('.git')[0],
|
||||||
tokenCredentialId: '',
|
tokenCredentialId: '',
|
||||||
|
|
||||||
printContributedVariables: true,
|
printContributedVariables: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user