File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ @Library (' pipeline-library' ) pipelineLibrary
2+ @Library (' pv-pipeline-library' ) pvPipelineLibrary
3+
4+
5+ import io.wcm.devops.jenkins.pipeline.ssh.SSHTarget
6+
7+ import static de.provision.devops.jenkins.pipeline.utils.ConfigConstants.*
8+ import static io.wcm.devops.jenkins.pipeline.utils.ConfigConstants.*
9+
10+ // See:
11+ // https://github.com/pro-vision/jenkins-pv-pipeline-library
12+ // https://github.com/pro-vision/jenkins-pv-pipeline-library/blob/master/docs/config-structure.md
13+ // Also have a look at https://github.com/wcm-io-devops/jenkins-pipeline-library for further configuration options
14+
15+ List triggers = defaults. getTriggers()
16+ triggers. push(githubPush())
17+
18+ Map config = [
19+ (BUILD_WRAPPER ): [
20+ (BUILD_WRAPPER_SSH_TARGETS ): [new SSHTarget (" ssh-wcm.io" )]
21+ ],
22+ (PROPERTIES ) : [
23+ (PROPERTIES_PIPELINE_TRIGGERS ): triggers
24+ ],
25+ (STAGE_COMPILE ): [
26+ (MAVEN ): [
27+ (MAVEN_GOALS ): [" clean" , " deploy" , " site-deploy" ],
28+ ]
29+ ],
30+ (STAGE_FEATURE_PREPARATION ): [
31+ (STAGE_FEATURE_PREPARATION_MERGE ): [
32+ (STAGE_FEATURE_PREPARATION_MERGE_ENABLED ): false
33+ ]
34+ ]
35+ ]
36+
37+ routeDefaultJenkinsFile(config)
You can’t perform that action at this time.
0 commit comments