Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Nov 13, 2023
1 parent 33f6c7a commit 7a49b3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env groovy
@Library('pipeline-library@pull/<pull-request-number>/head') _

def isPullRequest = !!(env.CHANGE_ID)
String shortCommit = ''
Expand Down Expand Up @@ -85,7 +86,7 @@ node('linux || linux-amd64-docker') {
stash name: 'build', includes: 'plugins.json.gzip,target/**/*'
}
stage('Build and publish Docker image') {
buildDockerAndPublishImage('plugin-site-api', [unstash: 'build', targetplatforms: 'linux/amd64'])
buildDockerAndPublishImage('plugin-site-api', [unstash: 'build', enablePublication: infra.isInfra(), targetplatforms: 'linux/amd64'])
}
stage('Archive Artifacts') {
archiveArtifacts artifacts: 'target/*.war, target/*.json.gzip', fingerprint: true
Expand Down

0 comments on commit 7a49b3c

Please sign in to comment.