Skip to content

Commit

Permalink
add sealights build scanner JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
avarabyeu committed Oct 17, 2019
1 parent 857d1e1 commit 0ff2668
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Package Files #
*.jar
!gradle/wrapper/**
!sealights/**

*.war
*.ear
Expand All @@ -17,4 +18,4 @@ hs_err_pid*
.idea/
build/
.gradle/
out/
out/
8 changes: 5 additions & 3 deletions Jenkinsfile.k8s.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ podTemplate(

def sealightsSession;
stage ('Init Sealights') {
container ('jre') {
sh "java -jar sl-build-scanner.jar -config -tokenfile $sealightsTokenPath -appname service-api -branchname $branchToBuild -buildname "$srvVersion" -pi '*com.epam.ta.reportportal.*'"
sealightsSession = utils.execStdout("cat buildSessionId.txt")
dir("$appDir/sealights") {
container ('jre') {
sh "java -jar sl-build-scanner.jar -config -tokenfile $sealightsTokenPath -appname service-api -branchname $branchToBuild -buildname "$srvVersion" -pi '*com.epam.ta.reportportal.*'"
sealightsSession = utils.execStdout("cat buildSessionId.txt")
}
}

}
Expand Down
Binary file added sealights/sl-build-scanner.jar
Binary file not shown.

0 comments on commit 0ff2668

Please sign in to comment.