-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
~ experimental: jenkins pipeline for home server #1
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
pipeline { | ||
agent any | ||
tools { | ||
} | ||
environment { | ||
} | ||
stages { | ||
stage('Initialize') { | ||
steps { | ||
sh 'echo "PATH = ${PATH}"' | ||
} | ||
} | ||
stage('Build') { | ||
steps { | ||
} | ||
} | ||
stage('Testing') { | ||
steps { | ||
} | ||
} | ||
stage('SonarQube Analysis') { | ||
steps { | ||
// properties such as sonar.host.url and sonar.login are configured in the m2 settings.xml for this profile | ||
// sh 'mvn clean verify -Psonar -Dsonar.projectKey=kcl' | ||
} | ||
} | ||
} | ||
} | ||
|