Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- primeiraleidabuild(){
- if [[ $MSG == *WILLFIX* ]]
- then
- return 0
- fi
- jsonfile=$(mktemp -u)
- wget -q -O $jsonfile --auth-no-challenge --http-user=tonylampada --no-check-certificate --http-password=XXXXXXXXXXXXXXXXXX https://jenkins.qmagico.com.br/userContent/status_qmagico.json
- branch=${REFNAME:11}
- $TEMPDIR/ci/primeiraleidabuild.py $jsonfile $branch
- exitcode=$?
- rm $jsonfile
- if [ $exitcode != 0 ]
- then
- echo -----------------------------------
- echo Seu commit viola a 1a lei.
- echo Detalhes acima
- echo -----------------------------------
- exit $exitcode
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement