11# inherit. In our example, we state that all our Jobs will use the same Docker
22# container for building in.
3- shared :
3+ # shared:
44 # Docker image to use as the desired build container. This typically takes the
55 # form of "repo_name". Alternatively, you can define the image as
66 # "repo_name:tag_label".
77 #
88 # (Source: https://hub.docker.com/r/library/buildpack-deps/)
9- image : maven:3.8.5-openjdk-17-slim
9+ # image: maven:3.8.5-openjdk-17-slim
1010
1111# Job definition block
1212# "main" is a default job that all pipelines have
@@ -31,11 +31,11 @@ jobs:
3131 # the same job (as shown below).
3232 - export : export BRINGUP="We're bringing up the build env now!"
3333 - console : echo $BRINGUP
34- - xz_utils : apt-get update && apt-get install -y xz-utils git
35- - mkdir : mkdir -p /opt/node
36- - node : curl -fsSL https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz | tar -xJf - -C /opt/node
37- - path : PATH="${PATH}:/opt/node/node-v16.16.0-linux-x64/bin"
38- - test : node --version
34+ # - xz_utils: apt-get update && apt-get install -y xz-utils git
35+ # - mkdir: mkdir -p /opt/node
36+ # - node: curl -fsSL https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz | tar -xJf - -C /opt/node
37+ # - path: PATH="${PATH}:/opt/node/node-v16.16.0-linux-x64/bin"
38+ # - test: node --version
3939 # Metadata is a structured key/value storage of relevant information about a build.
4040 # Metadata will be shared with subsequent builds in the same workflow.
4141 # You can set any key using the command "meta set <key> <value>".
5050 # command.
5151 - export : export BUILDING="We are building now!"
5252 - console : echo $BUILDING
53- - clean : mvn clean
54- - build : mvn compile
53+ # - clean: mvn clean
54+ # - build: mvn compile
5555 # You can get metadata that was set using the command "meta get <key>".
5656 # - get-metadata: meta get example
5757 # The "run_arbitrary_script" executes a script. This is an alternative to
0 commit comments