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