71 lines
2.6 KiB
Plaintext
71 lines
2.6 KiB
Plaintext
Branch indexing
|
|
Looking up repository group10-startup/startup-product
|
|
Querying the current revision of branch main...
|
|
Current revision of branch main is 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065
|
|
Obtained Jenkinsfile from 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065
|
|
[Pipeline] Start of Pipeline
|
|
[Pipeline] node
|
|
Still waiting to schedule task
|
|
Waiting for next available executor
|
|
Running on Jenkins in /var/jenkins_home/workspace/startup-product-ci_main
|
|
[Pipeline] {
|
|
[Pipeline] timeout
|
|
Timeout set to expire in 5 min 0 sec
|
|
[Pipeline] {
|
|
[Pipeline] stage
|
|
[Pipeline] { (Checkout)
|
|
[Pipeline] checkout
|
|
The recommended git tool is: NONE
|
|
using credential gitea-startup-ci
|
|
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/startup-product-ci_main/.git # timeout=10
|
|
Fetching changes from the remote Git repository
|
|
> git config remote.origin.url http://gitea:3000/group10-startup/startup-product.git # timeout=10
|
|
Fetching without tags
|
|
Fetching upstream changes from http://gitea:3000/group10-startup/startup-product.git
|
|
> git --version # timeout=10
|
|
> git --version # 'git version 2.47.3'
|
|
using GIT_ASKPASS to set credentials Restricted bot; startup-product repository only
|
|
> git fetch --no-tags --force --progress -- http://gitea:3000/group10-startup/startup-product.git +refs/heads/main:refs/remotes/origin/main # timeout=10
|
|
Checking out Revision 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065 (main)
|
|
> git config core.sparsecheckout # timeout=10
|
|
> git checkout -f 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065 # timeout=10
|
|
Commit message: "Merge PR #9: Chapter 4 Jenkins failure and repair"
|
|
> git rev-list --no-walk b0eee02470f4d3bace433ce484ba2119bc7df595 # timeout=10
|
|
[Gitea] Notifying branch build status: PENDING Build started...
|
|
[Gitea] Notified
|
|
[Pipeline] sh
|
|
+ git rev-parse HEAD
|
|
6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065
|
|
+ python3 --version
|
|
Python 3.13.5
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] stage
|
|
[Pipeline] { (Syntax check)
|
|
[Pipeline] sh
|
|
+ python3 -m py_compile pricing.py tests/test_pricing.py
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] stage
|
|
[Pipeline] { (Unit tests)
|
|
[Pipeline] sh
|
|
+ python3 -m unittest discover -s tests -v
|
|
test_invalid_quantity (test_pricing.PricingTests.test_invalid_quantity) ... ok
|
|
test_single_item (test_pricing.PricingTests.test_single_item) ... ok
|
|
test_total (test_pricing.PricingTests.test_total) ... ok
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 3 tests in 0.001s
|
|
|
|
OK
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] }
|
|
[Pipeline] // timeout
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
[Pipeline] End of Pipeline
|
|
[Gitea] Notifying branch build status: SUCCESS This commit looks good
|
|
[Gitea] Notified
|
|
Finished: SUCCESS
|