Skip to content

deploy INT PR#552

Open
bertyhell wants to merge 44 commits into
developfrom
develop-INT
Open

deploy INT PR#552
bertyhell wants to merge 44 commits into
developfrom
develop-INT

Merge branch 'develop' into develop-INT

3d734c7
Select commit
Loading
Failed to load commit list.
meemoo-jenkins / Jenkins failed Oct 29, 2025 in 8m 11s

Build code: error in 'sh' step

Build code / Shell Script

Error in sh step, with arguments #!/bin/bash oc project $OC_PROJECT oc import-image $BASE_IMG --confirm oc set image-lookup $BASE_IMG_NAME oc new-build -l ref=$BRANCH_NAME --strategy=docker --name $APP_NAME --to $APP_NAME:$GIT_SHORT_COMMIT --binary --context-dir="" || echo "Probably already exists, start new build" sleep 3 oc annotate --overwrite buildconfig/$APP_NAME ref=$BRANCH_NAME shortcommit=$GIT_SHORT_COMMIT patch-bc-current-ref.sh oc start-build $APP_NAME --from-dir=. --follow=true --wait=true .

script returned exit code 1
Build log
Now using project "hetarchief-v3" on server "https://172.21.0.1:443".
imagestream.image.openshift.io/node imported

Name:			node
Namespace:		hetarchief-v3
Created:		16 months ago
Labels:			<none>
Annotations:		openshift.io/image.dockerRepositoryCheck=2025-02-27T13:04:12Z
Image Repository:	image-registry.openshift-image-registry.svc:5000/hetarchief-v3/node
Image Lookup:		local=true
Unique Images:		1
Tags:			1

20.4
  tagged from node:20.4

  * node@sha256:cb6b3b7ccb94f3f4b071aef1e4452f82baea3e5442d8df00316b069d274b04c6
      16 months ago

Image Name:	node:20.4
Docker Image:	node@sha256:cb6b3b7ccb94f3f4b071aef1e4452f82baea3e5442d8df00316b069d274b04c6
Name:		sha256:cb6b3b7ccb94f3f4b071aef1e4452f82baea3e5442d8df00316b069d274b04c6
Created:	Less than a second ago
Annotations:	image.openshift.io/dockerLayersOrder=ascending
Image Size:	398.5MB in 8 layers
Layers:		49.55MB	sha256:d52e4f012db158bb7c0fe215b98af1facaddcbaee530efd69b1bae07d597b711
		24.03MB	sha256:7dd206bea61ff3e3b54be1c20b58d8475ddd6f89df176146ddb7a2fd2c747ea2
		64.11MB	sha256:2320f9be4a9c605d1ac847cf67cec42b91484a7cf7c94996417a0c7c316deadc
		211MB	sha256:6e5565e0ba8dfce32b9049f21ceeb212946e0bb810d94cbd2db94ca61082f657
		3.368kB	sha256:5f1526a28cf91707a0af45c5624979f67215b1330efd66c05a0f94839c96f0bc
		47.49MB	sha256:b9c7405b482f54514258ccba5082cd81cfb44b1c17eb724d00abaa2abb579458
		2.275MB	sha256:9db0bc99587b3093ef483ee42f3eb21728d02f47bf77a8009fcf2c155b43a95a
		450B	sha256:8e1c8c1907a57a97428736f263d852d6b3c80a69f3162661650d3d91e43b4150
Image Created:	2 years ago
Author:		<none>
Arch:		amd64
Entrypoint:	docker-entrypoint.sh
Command:	node
Working Dir:	<none>
User:		<none>
Exposes Ports:	<none>
Docker Labels:	<none>
Environment:	PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
		NODE_VERSION=20.4.0
		YARN_VERSION=1.22.19


    * A Docker build using binary input will be created
      * The resulting image will be pushed to image stream tag "proxy:3d734c74"
      * A binary build was created, use 'oc start-build --from-dir' to trigger a new build

--> Creating resources with label ref=PR-552 ...
    imagestreamtag.image.openshift.io "proxy:3d734c74" created
    error: buildconfigs.build.openshift.io "proxy" already exists
--> Failed
Probably already exists, start new build
buildconfig.build.openshift.io/proxy annotated
setting ImageStreamTag proxy:3d734c74 git ref
buildconfig.build.openshift.io/proxy patched
Uploading directory "." as binary input for the build ...
............................................................
Uploading finished
Error from server (BadRequest): unable to wait for build proxy-246 to run: timed out waiting for the condition

Details

  • Declarative: Checkout SCM (11 sec)
    • Calculate extra ENV vars (3.7 sec)
    • Test code (2 min 31 sec)
    • Build code (5 min 11 sec)
      Error: script returned exit code 1
    • Deploy INT (1.8 sec)
    • Deploy TST (1.6 sec)
    • Deploy QAS (1.7 sec)
    • Deploy PRD (1.7 sec)
    • Declarative: Post Actions (1.6 sec)