Skip to content

Commit

Permalink
ci(job): update job shell command
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeptossss committed Nov 29, 2023
1 parent 6ff90bb commit 99b23fd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions jenkins/job_dsl.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ freeStyleJob("Whanos base images/Build all base images") {

freeStyleJob("link-project") {
parameters {
stringParam("GITHUB_NAME", null, "GitHub repository owner/repo_name (e.g.: 'EpitechIT31000/chocolatine')")
stringParam("DISPLAY_NAME", null, "Display name for the job")
stringParam("GITHUB_NAME", null, "GitHub repository owner/repo_name (e.g.: 'Tux-Inc/Whanos-Example-C')")
stringParam("DISPLAY_NAME", null, "Display name for the job (MUST BE IN LOWERCASE)")
}
steps {
dsl {
Expand All @@ -78,10 +78,8 @@ freeStyleJob("link-project") {
}
steps {
shell(\'\'\'
cp -r /whanos/scripts/* .
chmod -R 777 .
ls -la
sh -c "./whanos.sh \\\"DISPLAY_NAME\\\""
chmod -R 777 /whanos
sh -c "/whanos/whanos.sh \\\"$DISPLAY_NAME\\\""
\'\'\')
}
}
Expand Down

0 comments on commit 99b23fd

Please sign in to comment.