From 35103a21ec61bedc603404b5b666749acbc621f5 Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Mon, 27 Mar 2023 21:11:30 +0200 Subject: [PATCH 1/2] Indicate running state. --- screwdriver.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/screwdriver.yaml b/screwdriver.yaml index 4740d8d75efb..ebff7122f06a 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -132,6 +132,8 @@ jobs: (cd sample-apps && find . -name "pom.xml" -exec sed -i -e "s,.*,$VESPA_VERSION," {} \;) (cd sample-apps && find . -name "pom.xml" -exec sed -i -e "s:[[]8,9[)]:$VESPA_VERSION:" {} \;) - make-srpm: | + $SD_SOURCE_DIR/screwdriver/factory-command.sh update-build-status running "Building" + make -C $WORKDIR/vespa -f .copr/Makefile srpm outdir=$WORKDIR - *restore-cache - build: | From 31fa89bb626bef0e8619b9230a58a895b6ef7274 Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Mon, 27 Mar 2023 21:13:23 +0200 Subject: [PATCH 2/2] Set build status. --- screwdriver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screwdriver.yaml b/screwdriver.yaml index ebff7122f06a..6e66c76febf2 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -189,7 +189,7 @@ jobs: fi - *save-cache - update-build-status: | - meta set vespa.factory.build.status $FACTORY_BUILD_STATUS + meta set vespa.factory.build.status success - teardown-report-build-status: | FACTORY_BUILD_STATUS=$(meta get vespa.factory.build.status) if [[ $FACTORY_BUILD_STATUS == success ]]; then