(Hi, please use users list in the future for this kind of question, I just redirected it to there.)
Cheers PS : you should also try and choose a more specific email subject next time. As you can imagine, a lot of things going on here are about "Jenkins jobs" ;-). 2015-10-12 15:47 GMT+02:00 GBANE FETIGUE <beme...@gmail.com>: > > Hey guys, > > > I built a Jenkins job and for some reason it's not working everything > seems fine but the console ouput gives me that error : > > ERROR: Invalid ini entry: ansible - need more than 1 value to unpack > Build step 'Execute shell' marked build as failure > Finished: FAILURE > > By the way here is my ansible script > > #!/bin/bash > > > ARTIFACT_VERSION=$GIT_COMMIT-$BUILD_ID--$BUILD_NUMBER > ARTIFACT_NAME=cs-system-status-$ARTIFACT_VERSION.tar.gz > > /bin/rm *.tar.gz > /bin/tar -cvzf $ARTIFACT_NAME . > /usr/bin/s3cmd put $ARTIFACT_NAME s3://snapav-code/cs-system-status/ > > #!/bin/bash > > ARTIFACT_VERSION=$GIT_COMMIT-$BUILD_ID--$BUILD_NUMBER > > /bin/echo "$version" > cd /usr/bin/ansible > > cd /var/lib/jenkins/jobs/build-cs-utils/workspace/playbooks > > ansible-playbook -i inventory/prod -e " > target=status > artifact_name=cs-system-status > artifact_version=$ARTIFACT_VERSION > " deploy_system_status.yml > > #!/bin/bash > > s3cmd ls s3://snapav-code/cs-system-status/ | sort -r | awk '{NF > 0;print > $4}' | grep ".tar.gz" | tail -n +51 | xargs -r s3cmd del > > > > Anybody has an idea ? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/c60e954a-d06c-4188-80db-8de63d9ba99f%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/c60e954a-d06c-4188-80db-8de63d9ba99f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor ! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7iKwKZT_G_3EieZ5dA3WQAC7saZKB6NiT5FXvj_2AzeA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.