Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit d855951

Browse files
authored
Update sdfabric-onos build with STC (#294)
* Update sdfabric-onos build with STC * Fix * Fix * Fix
1 parent 7a69c99 commit d855951

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.jenkins/Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ pipeline {
7777
dir("${env.WORKSPACE}/up4") {
7878
script {
7979
ONOS_IMAGE_STABLE = sh(
80-
script: "cat ../.env.stable | grep \'ONOS_IMAGE=\'| sed \'s/ONOS_IMAGE=//\'",
80+
script: "bash -c 'cat .env.stable | grep \"ONOS_IMAGE=\"| sed \"s/ONOS_IMAGE=//\"'",
8181
returnStdout: true
8282
).trim()
8383
if (ONOS_IMAGE_STABLE == "sdfabric-onos-local:master") {
84-
sh echo "SKIP UP4 build. UP4 is built as part of the scenarios deps step"
84+
sh(script: 'echo "SKIP UP4 build. UP4 is built as part of the scenarios deps step"')
8585
skipUp4Build = true
8686
}
8787
}

scenarios/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ include ../.env.stable
3131
endif
3232

3333
# Used when building the sdfabric-onos image
34-
UP4_VERSION := $(shell git rev-parse --abbrev-ref HEAD)
34+
UP4_VERSION := $(shell git rev-parse HEAD)
3535

3636
ifeq ($(ONOS_IMAGE),sdfabric-onos-local:master)
3737
BUILD_SDFABRIC_ONOS := true

0 commit comments

Comments
 (0)