Skip to content

Commit

Permalink
Add Jenkinsfile
Browse files Browse the repository at this point in the history
Let's see if this creates the build-config on ci.jenkins.io
  • Loading branch information
centic9 committed Sep 8, 2019
1 parent 6a73c53 commit 3c5db34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env groovy

/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */
buildPlugin() // jenkinsVersions: [null, '2.107.2'], platforms: ['linux']

This comment has been minimized.

Copy link
@darxriggs

darxriggs Oct 19, 2019

Contributor

If you want to test for JDK 8 & 11 (as in the Travis CI setup) I suggest to use one if these
a) buildPlugin(configurations: buildPlugin.recommendedConfigurations())
b) buildPlugin(jdkVersions: [8, 11])

This change should be performed by the repository owner as ci.jenkins.io is set up the way that changes in Jenkinsfiles are only trusted by developers with write access to the repository. Therefore if I would create a pull request it would still run with the previous version of the Jenkinsfile and only use the version when it's merged to the master branch.

This comment has been minimized.

Copy link
@centic9

centic9 Oct 20, 2019

Author Member

Thanks for the suggestion, I'll try that.


// More complex Jenkinsfile sample: https://github.com/jenkinsci/graphql-server-plugin/blob/master/Jenkinsfile

0 comments on commit 3c5db34

Please sign in to comment.