$ docker
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the\
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://wiki.jenkins.io/display/JENKINS/Building+a+software+project |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
def mvnHome | |
stage('Preparation') { // for display purposes | |
// Get some code from a GitHub repository | |
git 'https://github.com/jglick/simple-maven-project-with-tests.git' | |
// Get the Maven tool. | |
// ** NOTE: This 'M3' Maven tool must be configured | |
// ** in the global configuration. | |
mvnHome = tool 'maven-1' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.swtestacademy.com/galen-framework/ | |
https://gauge.org/ | |
https://www.tutorialspoint.com/jenkins/jenkins_continuous_deployment.htm | |
https://www.cloudbees.com/sites/default/files/zero_to_cd_with_blue_ocean.pdf | |
https://jenkins.io/doc/book/pipeline/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
manage jenkins | |
global tools configuration | |
maven | |
name "project maven" | |
maven home "path maven project" | |
back to jenkins | |
build | |
add maven version | |
goal clean package |
NewerOlder