Work note
Created on 3rd Oct 2018
Some notes:
JDK setting in IntelliJ
- menu project structure-> project -> modules
Maven
setting.xml
profile
username & password
-clean: clean all files generated by mvn
-compile: compile
-test: run test
-package: compile and generate executed file (e.g.war/ .jar)
-install: install to the local machine
-deploy: deploy to remote server
Sourcetree
checkout branch
In sourcetree, we can see both local and remote repositories.
After clone the repo to local, there is only one branch in local, that is master.
If you want to checkout to another branch. Go to the remote and right click the branch you want to switch to. Select Checkout new branch. Then the new branch will be created locally.
git stash
Swagger
in body? in path
time stamp: number
Springboot
injection
annotation
@autowired
---
12th Oct
Jenkins pipeline
Sonar (code report)
Jacoco plugin: code coverage report
Some notes:
JDK setting in IntelliJ
- menu project structure-> project -> modules
Maven
setting.xml
profile
username & password
-clean: clean all files generated by mvn
-compile: compile
-test: run test
-package: compile and generate executed file (e.g.war/ .jar)
-install: install to the local machine
-deploy: deploy to remote server
Sourcetree
checkout branch
In sourcetree, we can see both local and remote repositories.
After clone the repo to local, there is only one branch in local, that is master.
If you want to checkout to another branch. Go to the remote and right click the branch you want to switch to. Select Checkout new branch. Then the new branch will be created locally.
git stash
Swagger
in body? in path
time stamp: number
Springboot
injection
annotation
@autowired
---
12th Oct
Jenkins pipeline
Sonar (code report)
Jacoco plugin: code coverage report
Comments
Post a Comment