#275 ci: Run any script in the tests/ from Jenkinsfile
Merged 5 years ago by astepano. Opened 5 years ago by stefw.
stefw/standard-test-roles jenkinsfile-any-test  into  master

file modified
+2 -2
@@ -97,8 +97,8 @@ 

          stage('Tests') {

              steps {

                  sh '''

-                     set -efux

-                     ./tests/python-syntax.sh

+                     set -eux

+                     for script in ./tests/*.sh; do $script; done

                  '''

              }

          }

These scripts should be run as a way of testing a pull request.
Currently the Jenkinsfile is not redeployed on each pull request
so we need it to be more flexible.

Looks good. Merge. Thank you.

Commit a9c9a2f fixes this pull-request

Pull-Request has been merged by astepano

5 years ago

Pull-Request has been merged by astepano

5 years ago

Thank you @astepano. Is this in production? Does the new Jenkinsfile automatically get used? Or does someone need to push it somewhere?

@stefw Hi!

Is this in production?

Yes it is.

? Does the new Jenkinsfile automatically get used?

Yes

Or does someone need to push it somewhere?

No, Changes to Jenkinsfile are taking automatically at: https://jenkins-fedora-atomic-process.apps.ci.centos.org/job/str_pr_test/configure