variables: APP_NAME: "demo" when: - event: push branch: master stages: - test - build test_job: stage: test script: - echo "Testing $APP_NAME" build_job: stage: build script: - echo "Building $APP_NAME"