Skip to content

Commit 1303fd7

Browse files
committed
added fetch before diff #25
1 parent f6a76c8 commit 1303fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pipeline {
2828
timeout(time: 5, unit: 'MINUTES')
2929
{
3030
sh 'docker run -v $HOME/code-quality/:/root/code-quality --entrypoint ls precise-test:${BRANCH_ALIAS} -la /root/code-quality/'
31-
sh 'docker run -v $HOME/code-quality/:/root/code-quality --entrypoint /bin/bash precise-test:${BRANCH_ALIAS} -x -c "cat /root/code-quality/change-set.txt | xargs black --check"'
31+
sh 'docker run -v $HOME/code-quality/:/root/code-quality --entrypoint /bin/bash precise-test:${BRANCH_ALIAS} -x -c "grep -F .py /root/code-quality/change-set.txt | xargs black --check"'
3232
}
3333
}
3434
}

0 commit comments

Comments
 (0)