fix typo in job iteration
This commit is contained in:
parent
ec38c40a4d
commit
5df681819a
@ -42,7 +42,8 @@ cat > $JENKINS_GITCONF <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Add build numbers
|
# Add build numbers
|
||||||
for job in ${`ls jobs`// / }; do
|
JOBS=`ls jobs`
|
||||||
|
for job in ${JOBS// / }; do
|
||||||
if [ ! -e jobs/$job/nextBuildNumber ]; then
|
if [ ! -e jobs/$job/nextBuildNumber ]; then
|
||||||
echo 1 > jobs/$job/nextBuildNumber
|
echo 1 > jobs/$job/nextBuildNumber
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user