mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-30 05:59:39 +02:00
Provide defaults
This commit is contained in:
parent
96758a8c75
commit
2f7fa6e4a4
@ -57,6 +57,9 @@ steps:
|
||||
tagPrefix: 'build_'
|
||||
commitVersion: true
|
||||
gitPushMode: 'SSH'
|
||||
debug: false
|
||||
gitHttpsCredentialsId: 'git'
|
||||
gitDisableSslVerification: false
|
||||
dub:
|
||||
filePath: 'dub.json'
|
||||
versioningTemplate: '${version}-${timestamp}${commitId?"+"+commitId:""}'
|
||||
|
@ -57,7 +57,7 @@ enum GitPushMode {NONE, HTTPS, SSH}
|
||||
*/
|
||||
'gitSshKeyCredentialsId',
|
||||
/** */
|
||||
'gitCredentialsId',
|
||||
'gitHttpsCredentialsId',
|
||||
/**
|
||||
* Allows to overwrite the global git setting 'user.email' available on your Jenkins server.
|
||||
*/
|
||||
@ -221,7 +221,7 @@ void call(Map parameters = [:], Closure body = null) {
|
||||
.use()
|
||||
|
||||
withCredentials([usernamePassword(
|
||||
credentialsId: config.gitCredentialsId,
|
||||
credentialsId: config.gitHttpsCredentialsId,
|
||||
passwordVariable: 'PASSWORD',
|
||||
usernameVariable: 'USERNAME')]) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user