Kailash Khalasi | c323b1a | 2018-04-19 15:49:48 -0700 | [diff] [blame] | 1 | node ('ubuntu16.04-basebuild-1c-2g') { |
alshabib | 3e48815 | 2016-10-06 11:42:36 -0700 | [diff] [blame] | 2 | stage 'Checkout code' |
| 3 | checkout([$class: 'RepoScm', currentBranch: true, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true]) |
Kailash Khalasi | c323b1a | 2018-04-19 15:49:48 -0700 | [diff] [blame] | 4 | |
alshabib | 3e48815 | 2016-10-06 11:42:36 -0700 | [diff] [blame] | 5 | stage 'Build and Publish apps' |
Kailash Khalasi | 8879d66 | 2018-04-20 13:37:05 -0700 | [diff] [blame] | 6 | configFileProvider([configFile(fileId: 'onoscord-apps', variable: 'MAVEN_SETTINGS')]) { |
| 7 | sh 'cd onos-apps/apps && mvn -s $MAVEN_SETTINGS clean deploy' |
| 8 | } |
alshabib | 3e48815 | 2016-10-06 11:42:36 -0700 | [diff] [blame] | 9 | } |