Skip to content

Commit f6a76c8

Browse files
committed
added fetch before diff #24
1 parent 7274765 commit f6a76c8

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 "black --check $(< /root/code-quality/change-set.txt)"'
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"'
3232
}
3333
}
3434
}

0 commit comments

Comments
 (0)