Skip to content

Commit

Permalink
Fix Jenkins Maven and Gradle container examples (jfrog#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Feb 10, 2019
1 parent 7714879 commit 3ff092f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ node {

stage ('Artifactory configuration') {
rtGradle.tool = CONTAINER_GRADLE_TOOL // Tool name from Jenkins configuration
rtGradle.deployer repo:'libs-snapshot-local', server: server
rtGradle.deployer repo:'libs-release-local', server: server
rtGradle.resolver repo:'jcenter', server: server
}

Expand Down
2 changes: 2 additions & 0 deletions maven-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies>
Expand Down

0 comments on commit 3ff092f

Please sign in to comment.