Skip to content

Commit 70b0c2b

Browse files
committed
Add chmod to build scripts for .sh files
1 parent ac88ecc commit 70b0c2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.citd/Jenkinsfilek8s

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ pipeline {
8484

8585
stage('Build') {
8686
steps {
87-
script {
87+
script {
88+
sh("find . -type f -name postBuild.sh -exec chmod +x {} \\;")
89+
sh("find . -type f -name preBuild.sh -exec chmod +x {} \\;")
8890
mplabxProjectBuild(
8991
sourceFilePath: "${env.MPLABX_PROJECT_SOURCE}"
9092
)

0 commit comments

Comments
 (0)