69 lines
2.6 KiB
Plaintext
69 lines
2.6 KiB
Plaintext
Branch indexing
|
|
Looking up repository group10-startup/startup-product
|
|
Querying the current revision of pull request #9...
|
|
Current revision of pull request #9 is ed8684a2897c407946320183e572f6412dbb7703
|
|
Obtained Jenkinsfile from ed8684a2897c407946320183e572f6412dbb7703
|
|
[Pipeline] Start of Pipeline
|
|
[Pipeline] node
|
|
Running on Jenkins in /var/jenkins_home/workspace/startup-product-ci_PR-9
|
|
[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_PR-9/.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/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
|
Checking out Revision ed8684a2897c407946320183e572f6412dbb7703 (codex/chapter4-issue-8)
|
|
> git config core.sparsecheckout # timeout=10
|
|
> git checkout -f ed8684a2897c407946320183e572f6412dbb7703 # timeout=10
|
|
Commit message: "Fix pricing multiplication and document clean CI run for issue #8"
|
|
> git rev-list --no-walk 35605c33b903742cd13d444a1a14d61b07fbaa86 # timeout=10
|
|
[Gitea] Notifying pull request build status: PENDING Build started...
|
|
[Gitea] Notified
|
|
[Pipeline] sh
|
|
+ git rev-parse HEAD
|
|
ed8684a2897c407946320183e572f6412dbb7703
|
|
+ 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.000s
|
|
|
|
OK
|
|
[Pipeline] }
|
|
[Pipeline] // stage
|
|
[Pipeline] }
|
|
[Pipeline] // timeout
|
|
[Pipeline] }
|
|
[Pipeline] // node
|
|
[Pipeline] End of Pipeline
|
|
[Gitea] Notifying pull request build status: SUCCESS This commit looks good
|
|
[Gitea] Notified
|
|
Finished: SUCCESS
|