Skip to content

Commit

Permalink
Updated to use current version of Horreum 0.15.x
Browse files Browse the repository at this point in the history
  • Loading branch information
whitingjr committed Sep 24, 2024
1 parent 9052b35 commit eaca4ad
Show file tree
Hide file tree
Showing 17 changed files with 470 additions and 335 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

def configurations = [
[ platform: 'linux', jdk: '8' ],
[ platform: 'linux', jdk: '11', jenkins: '2.332.2' ],
[ platform: 'linux', jdk: '11', jenkins: '2.440.3' ],
]
buildPlugin(configurations: configurations)
27 changes: 23 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ horreumUpload (
----

You can access the response status code and content within a groovy script:
You can access the response within a groovy script:

[source,groovy]
----
Expand All @@ -60,13 +60,32 @@ def response = horreumUpload (
abortOnfailure: false,
quiet: false
)
println("Status: "+response.status)
println("Content: "+response.content)
println("Response: "+response)
----

The created Run ID by Horreum is provided in the response.

== Building

The plugin can be built and tested locally using a Maven HPI:
The plugin can be built using Maven

[source, bash]
----
mvn package -DskipTests=true
----

== Testing

Testing using Maven and JUnit:

[source, bash]
----
mvn test
----

== Stand up Jenkins server instance

The [Maven HPI plugin](https://jenkinsci.github.io/maven-hpi-plugin/) is used for standing up a Jenkins instance.

[source, bash]
----
Expand Down
Loading

0 comments on commit eaca4ad

Please sign in to comment.