Skip to content
Snippets Groups Projects
Commit cfbbb54d authored by David Hrbáč's avatar David Hrbáč
Browse files

Disable rm JSON

parent 47b366eb
No related branches found
No related tags found
No related merge requests found
...@@ -41,17 +41,17 @@ ext_links: ...@@ -41,17 +41,17 @@ ext_links:
allow_failure: true allow_failure: true
#after_script: #after_script:
#- rm *.json #- rm *.json
script: #script:
#- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 #- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10
#- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect #- find docs.it4i/ -name '*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect
- | #- |
COMMIT_MESSAGE=$(git log -1 --pretty=%B | grep "Merge branch 'hot_fix' into 'master'" ) # COMMIT_MESSAGE=$(git log -1 --pretty=%B | grep "Merge branch 'hot_fix' into 'master'" )
if [[ ${COMMIT_MESSAGE} == *hot_fix* ]]; then # if [[ ${COMMIT_MESSAGE} == *hot_fix* ]]; then
echo "Skipping ci build" # echo "Skipping ci build"
exit 0 # exit 0
else # else
find docs.it4i/ -name '*.md' ! -name 'modules-*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect # find docs.it4i/ -name '*.md' ! -name 'modules-*.md' -exec grep --color -l http {} + | xargs awesome_bot -t 10 --allow-dupe --allow-redirect
fi # fi
only: only:
- master - master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment