summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/releng/branch-or-tag.sh4
-rw-r--r--jjb/releng/releng-release-create-branch.sh4
-rw-r--r--jjb/releng/releng-release-tagging.sh2
3 files changed, 5 insertions, 5 deletions
diff --git a/jjb/releng/branch-or-tag.sh b/jjb/releng/branch-or-tag.sh
index 93786c627..f9767eca1 100755
--- a/jjb/releng/branch-or-tag.sh
+++ b/jjb/releng/branch-or-tag.sh
@@ -17,7 +17,7 @@ RELEASE_FILES=$(git diff HEAD^1 --name-only -- "releases/$STREAM")
echo "--> Verifying $RELEASE_FILES."
for release_file in $RELEASE_FILES; do
# Verify the release file schema
- python releases/scripts/verify_schema.py \
+ python3 releases/scripts/verify_schema.py \
-s releases/schema.yaml \
-y $release_file
done
@@ -36,5 +36,5 @@ for release_file in $RELEASE_FILES; do
source jjb/releng/releng-release-create-branch.sh
fi
- done < <(python releases/scripts/repos.py -b -f "$release_file")
+ done < <(python3 releases/scripts/repos.py -b -f "$release_file")
done
diff --git a/jjb/releng/releng-release-create-branch.sh b/jjb/releng/releng-release-create-branch.sh
index 7e91d5ace..bbb9257d7 100644
--- a/jjb/releng/releng-release-create-branch.sh
+++ b/jjb/releng/releng-release-create-branch.sh
@@ -45,7 +45,7 @@ run_merge(){
unset NEW_FILES
if [[ $REF_EXISTS = true && "$JOB_NAME" =~ "merge" ]]; then
ssh -n -f -p 29418 gerrit.opnfv.org gerrit create-branch "$repo" "$branch" "$ref"
- python releases/scripts/create_jobs.py -f $release_file
+ python3 releases/scripts/create_jobs.py -f $release_file
NEW_FILES=$(git status --porcelain --untracked=no | cut -c4-)
fi
if [ -n "$NEW_FILES" ]; then
@@ -65,7 +65,7 @@ for release_file in $RELEASE_FILES; do
else
run_merge
fi
- done < <(python releases/scripts/repos.py -b -f "$release_file")
+ done < <(python3 releases/scripts/repos.py -b -f "$release_file")
done
}
diff --git a/jjb/releng/releng-release-tagging.sh b/jjb/releng/releng-release-tagging.sh
index 839aa37b8..7c4cd257b 100644
--- a/jjb/releng/releng-release-tagging.sh
+++ b/jjb/releng/releng-release-tagging.sh
@@ -63,5 +63,5 @@ for release_file in $RELEASE_FILES; do
popd &> /dev/null
echo "--> Done verifing $repo"
- done < <(python releases/scripts/repos.py -f $release_file)
+ done < <(python3 releases/scripts/repos.py -f $release_file)
done