Commit 10a66af4 authored by Thomas Bouffard's avatar Thomas Bouffard

chore(dependencies): introduce ci pipeline

zip dependencies with the 'Pipeline Utility Steps' plugin zip step

Covers [CI-551](https://bonitasoft.atlassian.net/browse/CI-551)
parent 9d614d46
......@@ -89,6 +89,8 @@
"e2eOnly": "node --max-old-space-size=2048 ./node_modules/grunt-cli/bin/grunt testE2e",
"dev:serve": "grunt serve",
"dev:less": "watch --wait=1 \"npm-run-all --parallel build:*\" main/styles",
"start": "npm-run-all --parallel dev:*"
"start": "npm-run-all --parallel dev:*",
"listDependencies": "bower-license -e json > ./bonita-portal-js-bower-dependencies.json",
"listDependenciesYarn": "license-checker --json --production > ./bonita-portal-js-yarn-dependencies.json"
}
}
......@@ -105,5 +105,59 @@
</plugins>
</build>
</profile>
<profile>
<id>dependencies</id>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<phase>initialize</phase>
</execution>
<execution>
<id>bower-license license-checker</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>initialize</phase>
<configuration>
<arguments>add --dev bower-license license-checker</arguments>
</configuration>
</execution>
<execution>
<id>list bower dependencies</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>initialize</phase>
<configuration>
<arguments>
listDependencies
</arguments>
</configuration>
</execution>
<execution>
<id>list yarn dependencies</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>initialize</phase>
<configuration>
<arguments>
listDependenciesYarn
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment