fix typo in job iteration
This commit is contained in:
parent
ec38c40a4d
commit
5df681819a
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue