blob: 0d8a8a71412f70d7333d7b68b7f0cb89fa58cf2d [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')]) {
7 sh 'cd onos-apps/apps && mvn -s $MAVEN_SETTINGS clean deploy'
8 }
alshabib3e488152016-10-06 11:42:36 -07009}