Fix working dir in website precommits

Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/7f9cfdc7
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/7f9cfdc7
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/7f9cfdc7

Branch: refs/heads/mr-runner
Commit: 7f9cfdc762a2d71eb9f0ad80f05c2c54744d5c99
Parents: 239319b
Author: Kenneth Knowles <[email protected]>
Authored: Wed Nov 1 14:05:10 2017 -0700
Committer: Kenneth Knowles <[email protected]>
Committed: Wed Nov 1 14:05:10 2017 -0700

----------------------------------------------------------------------
 .test-infra/jenkins/job_beam_PreCommit_Website_Merge.groovy | 3 +++
 .test-infra/jenkins/job_beam_PreCommit_Website_Stage.groovy | 3 +++
 .test-infra/jenkins/job_beam_PreCommit_Website_Test.groovy  | 3 +++
 3 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/7f9cfdc7/.test-infra/jenkins/job_beam_PreCommit_Website_Merge.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/job_beam_PreCommit_Website_Merge.groovy 
b/.test-infra/jenkins/job_beam_PreCommit_Website_Merge.groovy
index 0e2ae3f..f386d85 100644
--- a/.test-infra/jenkins/job_beam_PreCommit_Website_Merge.groovy
+++ b/.test-infra/jenkins/job_beam_PreCommit_Website_Merge.groovy
@@ -48,6 +48,9 @@ job('beam_PreCommit_Website_Merge') {
         GEM_PATH=~/.gem/ruby/$RUBY_VERSION_NUM/:$GEM_PATH
         gem install bundler --user-install
 
+        # Enter the git clone for remaining commands
+        cd src
+
         # Install all needed gems.
         bundle install --path ~/.gem/
 

http://git-wip-us.apache.org/repos/asf/beam/blob/7f9cfdc7/.test-infra/jenkins/job_beam_PreCommit_Website_Stage.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/job_beam_PreCommit_Website_Stage.groovy 
b/.test-infra/jenkins/job_beam_PreCommit_Website_Stage.groovy
index 7c64f11..0b4d738 100644
--- a/.test-infra/jenkins/job_beam_PreCommit_Website_Stage.groovy
+++ b/.test-infra/jenkins/job_beam_PreCommit_Website_Stage.groovy
@@ -56,6 +56,9 @@ job('beam_PreCommit_Website_Stage') {
         GEM_PATH=~/.gem/ruby/$RUBY_VERSION_NUM/:$GEM_PATH
         gem install bundler --user-install
 
+        # Enter the git clone for remaining commands
+        cd src
+
         # Install all needed gems.
         bundle install --path ~/.gem/
 

http://git-wip-us.apache.org/repos/asf/beam/blob/7f9cfdc7/.test-infra/jenkins/job_beam_PreCommit_Website_Test.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/job_beam_PreCommit_Website_Test.groovy 
b/.test-infra/jenkins/job_beam_PreCommit_Website_Test.groovy
index 421b58a..9b0aa74 100644
--- a/.test-infra/jenkins/job_beam_PreCommit_Website_Test.groovy
+++ b/.test-infra/jenkins/job_beam_PreCommit_Website_Test.groovy
@@ -54,6 +54,9 @@ job('beam_PreCommit_Website_Test') {
         GEM_PATH=~/.gem/ruby/$RUBY_VERSION_NUM/:$GEM_PATH
         gem install bundler --user-install
 
+        # Enter the git clone for remaining commands
+        cd src
+
         # Install all needed gems.
         bundle install --path ~/.gem/
 

Reply via email to