|
|
@@ -26,11 +26,6 @@ pipeline {
|
|
|
}
|
|
|
|
|
|
stage('Deploy to Nexus') {
|
|
|
- when {
|
|
|
- expression {
|
|
|
- return sh(script: 'git rev-parse --abbrev-ref HEAD', returnStdout: true).trim() == 'master'
|
|
|
- }
|
|
|
- }
|
|
|
steps {
|
|
|
withCredentials([usernamePassword(
|
|
|
credentialsId: 'nexus-deployer',
|