-
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.
ci: added advise and extract jenkinsfiles
- Loading branch information
Showing
2 changed files
with
62 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,38 @@ | ||
pipeline { | ||
agent any | ||
tools { | ||
maven 'maven-3.9.6' | ||
jdk 'ZULU8' | ||
} | ||
stages { | ||
stage('Pull artifact from server') { | ||
steps { | ||
sh 'curl -O http://ae-scanner/mirror/' | ||
} | ||
} | ||
|
||
stage('Build with extract profile') { | ||
steps { | ||
withMaven(maven: 'maven-3.9.6') { | ||
sh 'mvn -B clean install -Pextract' | ||
} | ||
} | ||
} | ||
|
||
stage('Build with advise profile') { | ||
steps { | ||
withMaven(maven: 'maven-3.9.6') { | ||
sh 'mvn -B clean install -Padvise' | ||
} | ||
} | ||
} | ||
|
||
stage('Build with report profile') { | ||
steps { | ||
withMaven(maven: 'maven-3.9.6') { | ||
sh 'mvn -B clean install -Preport' | ||
} | ||
} | ||
} | ||
} | ||
} |
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,24 @@ | ||
pipeline { | ||
agent any | ||
tools { | ||
maven 'maven-3.9.6' | ||
jdk 'ZULU8' | ||
} | ||
stages { | ||
stage('Build with extract profile') { | ||
steps { | ||
withMaven(maven: 'maven-3.9.6') { | ||
sh 'mvn -B clean install -Pextract' | ||
} | ||
} | ||
} | ||
|
||
stage('Build with document profile') { | ||
steps { | ||
withMaven(maven: 'maven-3.9.6') { | ||
sh 'mvn -B clean install -Pdocument' | ||
} | ||
} | ||
} | ||
} | ||
} |