blob: dde6eb3b5b38e63ec1cec7d73a02b9d0cae20135 [file] [log] [blame]
Kailash Khalasic323b1a2018-04-19 15:49:48 -07001node ('ubuntu16.04-basebuild-1c-2g') {
alshabib3e488152016-10-06 11:42:36 -07002 stage 'Checkout code'
3 checkout([$class: 'RepoScm', currentBranch: true, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true])
Kailash Khalasic323b1a2018-04-19 15:49:48 -07004
alshabib3e488152016-10-06 11:42:36 -07005 stage 'Build and Publish apps'
Kailash Khalasi8879d662018-04-20 13:37:05 -07006 configFileProvider([configFile(fileId: 'onoscord-apps', variable: 'MAVEN_SETTINGS')]) {
Matteo Scandolo4a0e9302018-11-26 15:39:50 -08007 sh '_JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true && cd onos-apps/apps && mvn -s $MAVEN_SETTINGS clean deploy'
Kailash Khalasi8879d662018-04-20 13:37:05 -07008 }
alshabib3e488152016-10-06 11:42:36 -07009}