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')]) { |
Matteo Scandolo | 5f6e821 | 2018-11-26 16:14:32 -0800 | [diff] [blame^] | 7 | sh 'export _JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true && cd onos-apps/apps && mvn -s $MAVEN_SETTINGS clean deploy' |
Kailash Khalasi | 8879d66 | 2018-04-20 13:37:05 -0700 | [diff] [blame] | 8 | } |
alshabib | 3e48815 | 2016-10-06 11:42:36 -0700 | [diff] [blame] | 9 | } |