Н
есть конструкция типа
withMaven(maven: 'Maven 3.3.9', mavenSettingsConfig: '0000-1111...')
Откуда mavenSettingsConfig тянет инфу?
Size: a a a
Н
withMaven(maven: 'Maven 3.3.9', mavenSettingsConfig: '0000-1111...')
PK
After you have to registry your settings file :
manage jenkins > Managed files
And add your setting File
After this you can use the WithMaven function with your registry file like this:
steps {
withMaven(maven: 'M3', mavenSettingsConfig: 'mvn-setting-xml') {
sh "mvn clean install "
}
}
Н
PK
PK
PK
Н
PK
Н
PK
PK
PK
PK
PK
Н
Н
KK
PK
PK
KK