Adding composite commands to a devfile
Connect multiple commands together by defining a composite command.
Reference the individual commands that are called from a composite command by using the
nameof the command.
Specify whether to run the commands within a composite command in sequence or parallel.
schemaVersion: 2.1.0 metadata: name: mydevfile projects: - name: my-maven-project clonePath: maven/src/github.com/acme/my-maven-project git: remotes: origin: "https://github.com/acme/my-maven-project.git" components: - name: maven container: image: eclipse/maven-jdk8:latest mountSources: true command: ['tail'] commands: - id: package exec: component: maven commandLine: "mvn package" group: kind: build - id: install exec: component: maven commandLine: "mvn install" group: kind: build isDefault: true - id: installandpackage composite: commands: - install - package parallel: false