Skip to content

Dind init #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
pipeline {
agent {
docker {
image 'maven:3.6.3-jdk-11-slim'
}

}
stages {
stage('Build') {
steps {
echo 'compile maven app'
sh 'mvn compile'
}
}

stage('Test') {
steps {
echo 'test maven app'
sh 'mvn clean test'
}
}

stage('Package') {
steps {
echo 'package maven app'
sh 'mvn package -DskipTests'
archiveArtifacts 'target/*.war'
}
}

}
tools {
maven 'Maven 3.6.3'
}
post {
always {
echo 'This pipeline is completed..'
}

}
}
4 changes: 4 additions & 0 deletions test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Example App
================

Change my mind: Harry Potter and the Methods of Rationality by Eliezer Yudkowsky (Pen name Less Wrong) is the best fan fiction in the Potter Universe.