diff --git a/Jenkinsfile b/Jenkinsfile index 55fa603..adf3575 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,8 +44,10 @@ pipeline { when { branch 'develop' } - withCredentials(bindings: [usernamePassword(credentialsId: 'dockerhub-credentials', passwordVariable: 'pass', usernameVariable: 'name')]) { - sh 'mvn compile jib:dockerBuild -Djib.to.auth.username=$name -Djib.to.auth.password=$pass' + steps { + withCredentials(bindings: [usernamePassword(credentialsId: 'dockerhub-credentials', passwordVariable: 'pass', usernameVariable: 'name')]) { + sh 'mvn compile jib:dockerBuild -Djib.to.auth.username=$name -Djib.to.auth.password=$pass' + } } } @@ -70,14 +72,8 @@ pipeline { } } - - post { - always { - junit 'build/reports/**/*.xml' - } - } tools { maven 'maven' } -} \ No newline at end of file +} diff --git a/README.md b/README.md index 9152541..a6df27b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,55 @@ -# PBL5 -PBL5 +
+ +
A spaced repetition based learning application
+ + + + +## Description +Learning is an everyday necessity worldwide, which needs to be done the correct way +to be effective. Information tends to fade in what is known as “the forgetting curve”, a problem +that concerns a wide range of population. However, the fading of the data can be reverted and +stabilised by means of various techniques. One that can be used to achieve a good procure of +knowledge is spaced repetition. This method has been demonstrated to provide a sustainable +capacity of memorization for its users. One of the many ways of using it is by means of the +Leitner system, a flashcard approach that determines when is necessary to regain certain +knowledge. Those flashcards are composed by a question and its answer, storing cards of the +same topic in decks. Spaced repetition does not usually consider the motivation of the user. +However, as it is highly important to maintain the user comfortable, gamification has been +introduced to fulfil that purpose. Due to the importance of providing social interaction, a social +network-like approach has been embraced by the application. Due to the importance of fulfilling +the 2030 agenda of the United Nations, considering the SDGs has also been relevant. This work +explains the development of the product, named DeckLearn, as well as its impact towards the +established objectives and working hypotheses. + +## Used technologies +* [![image](https://img.shields.io/badge/Spring_Boot-F2F4F9?style=for-the-badge&logo=spring-boot)](https://spring.io/projects/spring-boot) +* [Thymeleaf](https://www.thymeleaf.org/) +* [![image](https://img.shields.io/badge/Hibernate-59666C?style=for-the-badge&logo=Hibernate&logoColor=white)](https://hibernate.org/) +* [![image](https://img.shields.io/badge/Jenkins-D24939?style=for-the-badge&logo=Jenkins&logoColor=white)](https://www.jenkins.io/) +* [![image](https://img.shields.io/badge/Nginx-009639?style=for-the-badge&logo=nginx&logoColor=white)](https://www.nginx.com/) +* [Sonarqube](https://www.sonarqube.org/) + + +## CI/CD + +## + +## Contributing +Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. + +Please make sure to update tests as appropriate. diff --git a/pom.xml b/pom.xml index a572c0f..8006f50 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@