Skip to content

Instantly share code, notes, and snippets.

Tobias N. Sasse tnsasse

Block or report user

Report or block tnsasse

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Kubernetes Video
https://www.youtube.com/watch?v=tA8XNVPZM2w
@tnsasse
tnsasse / Jenkinsfile
Last active Apr 4, 2018
Jenkinsfile for Gitflow Pipeline: different deployments for dev/release/master branch
View Jenkinsfile
node {
checkout scm
stage('Build') {
def mvnHome = tool 'M3'
sh "${mvnHome}/bin/mvn package"
}
stage('Deploy') {
if (env.BRANCH_NAME == 'develop') {
@tnsasse
tnsasse / pom.xml
Created Feb 23, 2016
Java8 Liberty POM XML Snippet
View pom.xml
<parent>
<groupId>net.wasdev.maven.parent</groupId>
<artifactId>java8-parent</artifactId>
<version>1.4</version>
<relativePath></relativePath>
</parent>
View maifest.yml
applications:
- path: target/yourapp.war
memory: 512M
instances: 1
domain: mybluemix.net
name: yourapp
host: yourapp
disk_quota: 1024M
env:
JBP_CONFIG_IBMJDK: "version: 1.8.+"
View manifest.yml
applications:
- path: target/myApp.war
memory: 512M
instances: 1
domain: mybluemix.net
name: myApp
host: myApp
disk_quota: 1024M
env:
JBP_CONFIG_LIBERTY: "app_archive: {features: [servlet-3.1, jaxrs-2.0]}"
You can’t perform that action at this time.