set -e
set -o pipefail
-project="octopus"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
for img in "${{images[@]}}"; do
- # uploading found images
- echo "uploading $img"
+ # uploading found images
+ echo "uploading $img"
cat "$img" | gsutil cp -L gsoutput.txt - \
gs://artifacts.opnfv.org/"$project"/"$img"
gsutil setmeta -h "Content-Type:image/jpeg" \
rm -f gsoutput.txt
done
-
set -e
set -o pipefail
-project="functest"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh
postbuilders:
- test-macro
builders:
- shell:
- !include-raw build-docu-verify.sh
+ !include-raw docu-verify.sh
- job-template:
name: 'functest-merge'
branch-pattern: '**/master'
builders:
- - shell:
- !include-raw build-upload-docu.sh
+ - shell:
+ !include-raw docu-build.sh
set -e
set -o pipefail
-project="genesis"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
set -e
set -o pipefail
-project="genesis"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh
- job-template:
name: 'genesis-verify-docs'
builders:
- shell:
- !include-raw build-docu-verify.sh
+ !include-raw docu-verify.sh
set -e
set -o pipefail
-project="functest"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
for img in "${{images[@]}}"; do
- # uploading found images
- echo "uploading $img"
+ # uploading found images
+ echo "uploading $img"
cat "$img" | gsutil cp -L gsoutput.txt - \
gs://artifacts.opnfv.org/"$project"/"$img"
gsutil setmeta -h "Content-Type:image/jpeg" \
rm -f gsoutput.txt
done
-
set -e
set -o pipefail
-project="octopus"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh
postbuilders:
- test-macro
builders:
- shell:
- !include-raw build-docu-verify.sh
+ !include-raw docu-verify.sh
- job-template:
name: 'octopus-merge'
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh
set -e
set -o pipefail
-project="pharos"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
for img in "${{images[@]}}"; do
- # uploading found images
- echo "uploading $img"
+ # uploading found images
+ echo "uploading $img"
cat "$img" | gsutil cp -L gsoutput.txt - \
gs://artifacts.opnfv.org/"$project"/"$img"
gsutil setmeta -h "Content-Type:image/jpeg" \
rm -f gsoutput.txt
done
-
set -e
set -o pipefail
-project="pharos"
+project="$(git remote -v | head -n1 | awk '{{print $2}}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')"
export PATH=$PATH:/usr/local/bin/
git_sha1="$(git rev-parse HEAD)"
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh
postbuilders:
- test-macro
builders:
- shell:
- !include-raw build-docu-verify.sh
+ !include-raw docu-verify.sh
- job-template:
name: 'pharos-merge'
builders:
- shell:
- !include-raw build-upload-docu.sh
+ !include-raw docu-build.sh