Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Group3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lucas Gutzen
Group3
Merge requests
!2
Update .gitlab-ci.yml file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update .gitlab-ci.yml file
oskgu746/group3:newbranch
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Oskar Gunnarsson
requested to merge
oskgu746/group3:newbranch
into
master
1 year ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
5d4baf2d
1 commit,
1 year ago
1 file
+
48
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
0 → 100644
+
48
−
0
Options
# This file is a template, and might need editing before it works on your project.
# This is a sample GitLab CI/CD configuration file that should run without any modifications.
# It demonstrates a basic 3 stage CI/CD pipeline. Instead of real tests or scripts,
# it uses echo commands to simulate the pipeline execution.
#
# A pipeline is composed of independent jobs that run scripts, grouped into stages.
# Stages run in sequential order, but jobs within stages run in parallel.
#
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
#
# You can copy and paste this template into a new `.gitlab-ci.yml` file.
# You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
#
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
image
:
alash325/javaant:latest
stages
:
# List of stages for jobs, and their order of execution
-
build
-
test
-
deploy
build
:
# This job runs in the build stage, which runs first.
stage
:
build
script
:
-
ant build
test
:
# This job runs in the test stage.
stage
:
test
# It only starts when the job in the build stage completes successfully.
script
:
-
ant -lib test/lib/junit.jar -Dtest=AllTests testall
artifacts
:
paths
:
-
./build/report/
reports
:
junit
:
-
./build/report/xml/TEST-*.*
pages
:
stage
:
deploy
dependencies
:
-
test
script
:
-
mv ./build/report/public/
artifacts
:
paths
:
-
public
\ No newline at end of file
Loading