Guest User

Untitled

a guest
Oct 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. {
  2. "generator-jhipster": {
  3. "promptValues": {
  4. "packageName": "com.labkit.sci.signup",
  5. "nativeLanguage": "en"
  6. },
  7. "jhipsterVersion": "5.2.0",
  8. "applicationType": "monolith",
  9. "baseName": "signupApp",
  10. "packageName": "com.labkit.sci.signup",
  11. "packageFolder": "com/labkit/sci/signup",
  12. "serverPort": "8080",
  13. "authenticationType": "jwt",
  14. "cacheProvider": "no",
  15. "websocket": false,
  16. "databaseType": "sql",
  17. "devDatabaseType": "h2Disk",
  18. "prodDatabaseType": "mysql",
  19. "searchEngine": false,
  20. "messageBroker": false,
  21. "serviceDiscoveryType": false,
  22. "buildTool": "gradle",
  23. "enableSwaggerCodegen": false,
  24. "jwtSecretKey": "0090063692719408ae6b537297eb0489f240d788",
  25. "clientFramework": "angularX",
  26. "useSass": true,
  27. "clientPackageManager": "yarn",
  28. "testFrameworks": [],
  29. "jhiPrefix": "jhi",
  30. "enableTranslation": true,
  31. "nativeLanguage": "en",
  32. "languages": [
  33. "en",
  34. "es"
  35. ]
  36. }
  37. }
  38.  
  39. new CopyWebpackPlugin([
  40. .
  41. ..
  42. .
  43. { from: './src/main/webapp/content/doc/agreement-gdpr.pdf', to: 'content/doc/agreement-gdpr.pdf' },
  44. .
  45. .
  46. .
  47.  
  48. ])
  49.  
  50. #!/usr/bin/env groovy
  51.  
  52. node {
  53. stage('checkout') {
  54. checkout scm
  55. }
  56.  
  57. stage('check java') {
  58. sh "java -version"
  59. }
  60.  
  61. stage('clean') {
  62. sh "chmod +x gradlew"
  63. sh "./gradlew clean --no-daemon"
  64. }
  65.  
  66. stage('install tools') {
  67. sh "./gradlew yarn_install -PnodeInstall --no-daemon"
  68. }
  69.  
  70. stage('packaging') {
  71. try {
  72. sh "./gradlew bootWar -x test -Pprod -PnodeInstall --no-daemon"
  73. archiveArtifacts artifacts: '**/build/libs/*.war', fingerprint: true
  74. } catch (e) {
  75. // If there was an exception thrown, the build failed
  76. currentBuild.result = "FAILED"
  77. throw e
  78. } finally {
  79. // Success or failure, always send notifications
  80. // notifyBuild(currentBuild.result)
  81. }
  82. }
  83.  
  84. }
Add Comment
Please, Sign In to add comment