File tree Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Original file line number Diff line number Diff line change 1
- script {
2
- def nodeHome = " ${ env.WORKSPACE} /.node"
3
- withEnv([" PATH=${ nodeHome} /bin:${ env.PATH} " ]) {
4
- sproutMultiModuleBuild {
5
- moduleToBuild = ' mcp-parent'
6
- nodeLabel = ' ephemeral'
7
- tribes = [' global' ]
8
- notifySlackGroupsOnFailure = [' @kevin' ]
9
- jdk = 17
10
- deployRCBranches = true
11
-
12
- preBuildBashCommands = """
13
- set -e
14
- mkdir -p "${ nodeHome} "
15
- wget -q https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz
16
- tar -xJf node-v18.19.0-linux-x64.tar.xz --strip-components=1 -C "${ nodeHome} "
17
- "${ nodeHome} /bin/node" -v || true
18
- "${ nodeHome} /bin/npx" -v || true
19
- """
20
- }
21
- }
1
+ sproutMultiModuleBuild {
2
+ moduleToBuild = ' mcp-parent'
3
+ nodeLabel = ' ephemeral'
4
+ tribes = [' global' ]
5
+ notifySlackGroupsOnFailure = [' @kevin' ]
6
+ jdk = 17
7
+ deployRCBranches = true
22
8
}
Original file line number Diff line number Diff line change 87
87
<maven-project-info-reports-plugin .version>3.4.5</maven-project-info-reports-plugin .version>
88
88
<maven-jar-plugin .version>3.3.0</maven-jar-plugin .version>
89
89
<spring-javaformat-maven-plugin .version>0.0.43</spring-javaformat-maven-plugin .version>
90
+ <frontend-maven-plugin .version>1.15.1</frontend-maven-plugin .version>
90
91
<org .maven.antora-version>1.0.0-alpha.4</org .maven.antora-version>
91
92
<io .spring.maven.antora-version>0.0.4</io .spring.maven.antora-version>
92
93
<asciidoctorj-pdf .version>1.6.2</asciidoctorj-pdf .version>
124
125
</execution >
125
126
</executions >
126
127
</plugin >
128
+ <plugin >
129
+ <groupId >com.github.eirslett</groupId >
130
+ <artifactId >frontend-maven-plugin</artifactId >
131
+ <version >${frontend-maven-plugin.version} </version >
132
+ <executions >
133
+ <execution >
134
+ <id >install node and npm</id >
135
+ <goals >
136
+ <goal >install-node-and-npm</goal >
137
+ </goals >
138
+ <phase >generate-test-resources</phase >
139
+ <configuration >
140
+ <nodeVersion >v18.19.0</nodeVersion >
141
+ <npmVersion >10.2.4</npmVersion >
142
+ </configuration >
143
+ </execution >
144
+ </executions >
145
+ </plugin >
127
146
<plugin >
128
147
<groupId >org.apache.maven.plugins</groupId >
129
148
<artifactId >maven-site-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments