Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeline {
- agent any
- stages {
- stage('Install') {
- steps {
- sh 'mvn clean install -DskipTests'
- }
- }
- stage('Upload artifact') {
- steps {
- nexusArtifactUploader artifacts: [[artifactId: 'add-project-internship-2018', classifier: '', file: 'add-project-internship-2018-0.0.1-SNAPSHOT.war', type: 'war']],
- credentialsId: '9d977555-9613-4485-8c0c-a25b72a316e3',
- groupId: 'com.endava',
- nexusUrl: 'nexus.endava.net/repository/Intens_2018_firs/',
- nexusVersion: 'nexus3',
- protocol: 'http',
- repository: 'Intens_2018_firs',
- version: '0.0.1'
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement