Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
deploy cleanup not removing all unmodified files
[releng/global-jjb.git]
/
shell
/
common-variables.sh
diff --git
a/shell/common-variables.sh
b/shell/common-variables.sh
index
20c1c5c
..
7bbc36f
100644
(file)
--- a/
shell/common-variables.sh
+++ b/
shell/common-variables.sh
@@
-20,3
+20,10
@@
MAVEN_OPTIONS="$(echo --show-version \
-Dmaven.repo.local=/tmp/r \
-Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
echo "$MAVEN_OPTIONS"
-Dmaven.repo.local=/tmp/r \
-Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)"
echo "$MAVEN_OPTIONS"
+
+# Activates the lftools virtualenv
+lftools_activate() {
+ virtualenv --quiet "/tmp/v/lftools"
+ # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
+ source "/tmp/v/lftools/bin/activate"
+}