This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am majecek on github. | |
* I am marchow (https://keybase.io/marchow) on keybase. | |
* I have a public key ASATxiMQV_R1lp2BiP166xtG6pFcppSSGK8UaWRg05Qt1wo |
This file contains 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
git log --oneline --no-merges origin/rel81..origin/rel81dev |
This file contains 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
docker pull mongo | |
docker run -d -p 27017:27017 mongo:latest |
This file contains 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
cd app-root/data/git-ssh/ | |
ssh-keygen (name your key as id_rsa - git-ssh will look there for it) | |
and set full path for new key (i.e. /var/lib/openshift/52ab37d0500446f3d30000ee/app-root/data/git-ssh/id_rsa) |
This file contains 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
mvn clean compile sonar:sonar -Dsonar.userHome=/var/lib/openshift/52ab37d0500446f3d30000ee/app-root/data -Dsonar.host.url=http://SONAR_URL.rhcloud.com -Dsonar.jdbc.url=jdbc:mysql://x.x.x.x:3306/sonar?useUnicode=true -Dsonar.jdbc.username=mysql_admin_name -Dsonar.jdbc.password=mysql_admin_password |
This file contains 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
cd $OPENSHIFT_DATA_DIR | |
echo -e "<settings><localRepository>$OPENSHIFT_DATA_DIR/.m2</localRepository></settings>" > settings.xml | |
cd $WORKSPACE | |
mvn clean compile test package -s $OPENSHIFT_DATA_DIR/settings.xml |
This file contains 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
rhc create-app jenkins jenkins-1 "https://cartreflect-claytondev.rhcloud.com/reflect?github=majecek/openshift-community-git-ssh" |
This file contains 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
sonar.projectKey=eu.chowaniok:j2eeApplication | |
sonar.projectName=j2eeApplication | |
sonar.projectVersion=1.0-SNAPSHOT | |
sonar.sources=src/main/java | |
sonar.language=java | |
sonar.sourceEncoding=UTF-8 | |
sonar.binaries=target | |
sonar.host.url=http://127.0.0.1:8080 | |
sonar.jdbc.url=jdbc:mysql://localhost:3306/APPLICATION_NAME?useUnicode=true&characterEncoding=utf8 | |
sonar.jdbc.username=mysql_username |
This file contains 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>eu.chowaniok</groupId> | |
<artifactId>j2eeApplication</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>j2eeApplication</name> |
This file contains 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
rhc create-app sonar diy-0.1 mysql-5.1 --from-code https://bitbucket.org/majecek/sonarqube-openshift.git | |
cd sonar | |
git remote add upstream -m master https://bitbucket.org/majecek/sonarqube-openshift_addons.git | |
git pull upstream master | |
git pull origin master | |
git push origin master |
NewerOlder