jenkins-bot has submitted this change and it was merged.

Change subject: Moved documentation from qa/browsertests repository
......................................................................


Moved documentation from qa/browsertests repository

See commit https://gerrit.wikimedia.org/r/#/c/90534/

Change-Id: I950c365b245181a2916dc44564ffe7f1af74b4fb
---
A docs/jenkins.md
A docs/job.md
A docs/jobs.md
A docs/template.md
A docs/view.md
5 files changed, 537 insertions(+), 0 deletions(-)

Approvals:
  Cmcmahon: Looks good to me, approved
  Zfilipin: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/docs/jenkins.md b/docs/jenkins.md
new file mode 100644
index 0000000..35738bf
--- /dev/null
+++ b/docs/jenkins.md
@@ -0,0 +1,28 @@
+# Jenkins
+
+## Plugins
+
+- Jenkins > Manage Jenkins > Manage Plugins > Available > ChuckNorris Plugin, 
Green Balls, Jenkins instant-messaging plugin, Jenkins IRC Plugin
+
+## IRC Notification
+
+- Jenkins > Manage Jenkins > Configure System
+- Enable IRC Notification > check
+- Hostname: irc.freenode.net
+- Port: 6667
+- Channels
+  - Name: #wikimedia-mobile
+  - Notification only: check
+- Advanced...
+  - Nickname: wmf-selenium-bot
+  - Login: wmf-selenium-bot
+  - nickname and login have to be the same
+
+## Environment variables
+
+- Jenkins > Manage Jenkins > Configure System > Global properties > 
Environment variables > List of key-value pairs
+  - name
+    - MEDIAWIKI_USER
+    - MEDIAWIKI_PASSWORD
+    - SAUCE_ONDEMAND_ACCESS_KEY
+    - SAUCE_ONDEMAND_USERNAME
diff --git a/docs/job.md b/docs/job.md
new file mode 100644
index 0000000..591fd92
--- /dev/null
+++ b/docs/job.md
@@ -0,0 +1,30 @@
+# Job
+
+- Jenkins > New Job
+  - Job name: (name)
+  - Build a free-style software project
+  - OK
+- Jenkins > Job > Configure
+  - Project name: (name)
+  - Source Code Management > Git > Repositories > Repository URL: (repository)
+  - Build > Add build step > Execute shell
+
+--
+
+    export BROWSER_LABEL=(label)
+    export MEDIAWIKI_URL=(url)
+
+    curl -s -o use-ruby 
https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/ruby/use-ruby
+    RUBY_VERSION=2.0.0-p247 \
+      source ./use-ruby
+
+    gem install bundler --no-ri --no-rdoc
+    bundle install
+    bundle exec cucumber
+
+--
+
+  - Post-build Actions > Add post-build action
+    - Publish JUnit test result report > Test report XMLs: reports/junit/*.xml
+    - E-mail Notification > Recipients: (recipients)
+    - IRC Notification
diff --git a/docs/jobs.md b/docs/jobs.md
new file mode 100644
index 0000000..7856823
--- /dev/null
+++ b/docs/jobs.md
@@ -0,0 +1,206 @@
+# browsertests
+
+- Recipients: [email protected] [email protected]
+- Repository URL: browsertests@gerrit
+- Branch: master
+- Folder: root of the repository
+
+
+
+# browsertests-commons.wikimedia.beta.wmflabs.org
+
+- MediaWiki URL: commons.wikimedia.beta.wmflabs.org
+- bundle exec: cucumber --verbose --profile ci --tags 
@commons.wikimedia.beta.wmflabs.org
+
+
+## browsertests-commons.wikimedia.beta.wmflabs.org-linux-chrome
+- Browser Label: chrome
+
+## browsertests-commons.wikimedia.beta.wmflabs.org-linux-firefox
+- Browser Label: firefox
+
+## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_6
+- Browser Label: internet_explorer_6
+- bundle exec: cucumber --verbose --profile ci --tags 
@commons.wikimedia.beta.wmflabs.org --tags ~@ie6-bug
+
+## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_7
+- Browser Label: internet_explorer_7
+- bundle exec: cucumber --verbose --profile ci --tags 
@commons.wikimedia.beta.wmflabs.org --tags ~@ie7-bug
+
+## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_8
+- Browser Label: internet_explorer_8
+- bundle exec: cucumber --verbose --profile ci --tags 
@commons.wikimedia.beta.wmflabs.org --tags ~@ie8-bug
+
+## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_9
+- Browser Label: internet_explorer_9
+
+## browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_10
+- Browser Label: internet_explorer_10
+
+
+
+# browsertests-en.wikipedia.beta.wmflabs.org
+- bundle exec: cucumber --verbose --profile ci --tags 
@en.wikipedia.beta.wmflabs.org
+- MediaWiki URL: en.wikipedia.beta.wmflabs.org
+
+
+## browsertests-en.wikipedia.beta.wmflabs.org-linux-chrome
+- Browser Label: chrome
+
+## browsertests-en.wikipedia.beta.wmflabs.org-linux-firefox
+- Browser Label: firefox
+
+## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_6
+- Browser Label: internet_explorer_6
+- bundle exec: cucumber --verbose --profile ci --tags 
@en.wikipedia.beta.wmflabs.org --tags ~@ie6-bug
+
+## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_7
+- Browser Label: internet_explorer_7
+- bundle exec: cucumber --verbose --profile ci --tags 
@en.wikipedia.beta.wmflabs.org --tags ~@ie7-bug
+
+## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_8
+- Browser Label: internet_explorer_8
+- bundle exec: cucumber --verbose --profile ci --tags 
@en.wikipedia.beta.wmflabs.org --tags ~@ie8-bug
+
+## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_9
+- Browser Label: internet_explorer_9
+
+## browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_10
+- Browser Label: internet_explorer_10
+
+
+
+# browsertests-test2.wikipedia.org
+
+- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org
+- MediaWiki URL: test2.wikipedia.org
+
+
+## browsertests-test2.wikipedia.org-linux-chrome
+- Browser Label: chrome
+
+## browsertests-test2.wikipedia.org-linux-firefox
+- Browser Label: firefox
+
+## browsertests-test2.wikipedia.org-windows-internet_explorer_6
+- Browser Label: internet_explorer_6
+- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org 
--tags ~@ie6-bug
+
+## browsertests-test2.wikipedia.org-windows-internet_explorer_7
+- Browser Label: internet_explorer_7
+- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org 
--tags ~@ie7-bug
+
+## browsertests-test2.wikipedia.org-windows-internet_explorer_8
+- Browser Label: internet_explorer_8
+- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org 
--tags ~@ie8-bug
+
+## browsertests-test2.wikipedia.org-windows-internet_explorer_9
+- Browser Label: internet_explorer_9
+
+## browsertests-test2.wikipedia.org-windows-internet_explorer_10
+- Browser Label: internet_explorer_10
+
+
+
+# CirrusSearch-en.wikipedia.beta.wmflabs.org
+
+- bundle exec: cucumber --verbose --profile ci
+- Recipients: [email protected] [email protected] 
[email protected]
+- Repository URL: CirrusSearch@gerrit
+- MediaWiki URL: en.wikipedia.beta.wmflabs.org
+- Folder: tests/browser/
+
+
+## CirrusSearch-en.wikipedia.beta.wmflabs.org-linux-chrome
+- Browser Label: chrome
+
+
+
+# Flow
+
+- bundle exec: cucumber --verbose --profile ci --tags 
@en.wikipedia.beta.wmflabs.org
+- Recipients: [email protected] [email protected]
+- Repository URL: Flow@gerrit
+- Branch: master
+- MediaWiki URL: en.m.wikipedia.beta.wmflabs.org
+- Folder: tests/browser/
+
+## Flow-en.wikipedia.beta.wmflabs.org-linux-chrome
+- Browser Label: chrome
+
+
+## Flow-en.wikipedia.beta.wmflabs.org-linux-firefox
+- Browser Label: firefox
+
+
+## Flow-en.wikipedia.beta.wmflabs.org-linux-internet_explorer_10
+- Browser Label: internet_explorer_10
+
+
+
+# MobileFrontend
+
+- Browser Label: firefox
+- bundle exec: cucumber --verbose --profile ci
+- Recipients: [email protected] [email protected] 
[email protected] [email protected] [email protected]
+- Repository URL: MobileFrontend@gerrit
+- Folder: tests/acceptance/
+
+
+## MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-firefox
+- MediaWiki URL: en.m.wikipedia.beta.wmflabs.org
+
+
+## MobileFrontend-en.m.wikipedia.org-linux-firefox
+- MediaWiki URL: en.m.wikipedia.org
+
+
+# TwnMainPage
+
+
+## TwnMainPage-sandbox.translatewiki.net-linux-firefox
+- Browser Label: firefox
+- bundle exec: cucumber --verbose --profile ci --tags 
@sandbox.translatewiki.net
+- Recipients: [email protected] [email protected] 
[email protected] [email protected] [email protected]
+- Repository URL: TwnMainPage@gerrit
+- Branch: master
+- MediaWiki URL: sandbox.translatewiki.net
+- Folder: tests/browser/
+
+
+
+# UniversalLanguageSelector
+- Recipients: [email protected] [email protected] 
[email protected] [email protected] [email protected] 
[email protected]
+- Repository URL: UniversalLanguageSelector@gerrit
+- Folder: tests/browser/
+
+
+## UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-chrome
+- Browser Label: chrome
+- bundle exec: cucumber --verbose --profile ci --tags 
@commons.wikimedia.beta.wmflabs.org
+- MediaWiki URL: commons.wikimedia.beta.wmflabs.org
+
+## UniversalLanguageSelector-commons.wikimedia.beta.wmflabs.org-linux-firefox
+- Browser Label: firefox
+- bundle exec: cucumber --verbose --profile ci --tags 
@commons.wikimedia.beta.wmflabs.org
+- MediaWiki URL: commons.wikimedia.beta.wmflabs.org
+
+## UniversalLanguageSelector-en.wikipedia.beta.wmflabs.org-linux-chrome
+- Browser Label: chrome
+- bundle exec: cucumber --verbose --profile ci --tags 
@en.wikipedia.beta.wmflabs.org
+- MediaWiki URL: en.wikipedia.beta.wmflabs.org
+
+## UniversalLanguageSelector-en.wikipedia.beta.wmflabs.org-linux-firefox
+- Browser Label: firefox
+- bundle exec: cucumber --verbose --profile ci --tags 
@en.wikipedia.beta.wmflabs.org
+- MediaWiki URL: en.wikipedia.beta.wmflabs.org
+
+
+
+# VisualEditor-test2.wikipedia.org-linux-firefox
+- Browser Label: firefox
+- bundle exec: cucumber --verbose --profile ci --tags @test2.wikipedia.org
+- Recipients: [email protected] [email protected] 
[email protected]
+- Repository URL: VisualEditor@gerrit
+- MediaWiki URL: test2.wikipedia.org
+- Folder: modules/ve-mw/test/browser/
diff --git a/docs/template.md b/docs/template.md
new file mode 100644
index 0000000..60e6250
--- /dev/null
+++ b/docs/template.md
@@ -0,0 +1,262 @@
+# Template
+
+## Setup
+
+- Jenkins > Templates > New Template > (name) > Job Template > OK > Save
+- Display Name: (name)
+- Description: (description)
+- Instantiable?: check
+- Attribute
+
+## Name
+
+- ID: name
+- Display Name: Name
+- Type: Text-field
+
+## Browser Label
+
+- ID: BROWSER_LABEL
+- Display Name: Browser Label
+- Type: Select a string among many
+- UI Mode: Dropdown list (no inline help, but more compact UI)
+- Options
+  - Display Name: (name)
+  - Value: (name)
+    - chrome
+    - firefox
+    - internet_explorer_6
+    - internet_explorer_7
+    - internet_explorer_8
+    - internet_explorer_9
+    - internet_explorer_10
+
+## bundle exec
+
+- ID: BUNDLE_EXEC
+- Display Name: bundle exec
+- Type: Text-field
+
+## Recipients
+
+- ID: RECIPIENTS
+- Display Name: Recipients
+- Type: Text-field
+
+## Repository URL
+
+- ID: REPOSITORY_URL
+- Display Name: Repository URL
+- Type: Select a string among many
+- UI Mode: Dropdown list (no inline help, but more compact UI)
+- Options
+
+  - Display Name: browsertests@cloudbees
+  - Value: git://git.cloudbees.com/wmf/browsertests.git
+
+  - Display Name: browsertests@gerrit
+  - Value: https://gerrit.wikimedia.org/r/qa/browsertests
+
+  - Display Name: CirrusSearch@gerrit
+  - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch
+
+  - Display Name: Flow@gerrit
+  - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/Flow
+
+  - Display Name: MobileFrontend@cloudbees
+  - Value: git://git.cloudbees.com/wmf/MobileFrontend.git
+
+  - Display Name: MobileFrontend@gerrit
+  - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend
+
+  - Display Name: TwnMainPage@gerrit
+  - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/TwnMainPage
+
+  - Display Name: UniversalLanguageSelector@gerrit
+  - Value: 
https://gerrit.wikimedia.org/r/mediawiki/extensions/UniversalLanguageSelector
+
+  - Display Name: VisualEditor@gerrit
+  - Value: https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
+
+## Branch
+
+- ID: BRANCH
+- Display Name: Branch
+- Type: Select a string among many
+- UI Mode: Dropdown list (no inline help, but more compact UI)
+- Options
+  - Display Name: (name)
+  - Value: (name)
+
+  - name:
+    - debug
+    - master
+
+## MediaWiki URL
+
+- ID: MEDIAWIKI_URL
+- Display Name: MediaWiki URL
+- Type: Select a string among many
+- UI Mode: Dropdown list (no inline help, but more compact UI)
+- Options
+  - Display Name: (name)
+  - Value: (name)
+
+  - name:
+    - commons.wikimedia.beta.wmflabs.org
+    - dev.translatewiki.net
+    - en.m.wikipedia.beta.wmflabs.org
+    - en.m.wikipedia.org
+    - en.wikipedia.beta.wmflabs.org
+    - en.wikipedia.org
+    - sandbox.translatewiki.net
+    - test2.wikipedia.org
+
+## Folder
+
+- ID: FOLDER
+- Display Name: Folder
+- Type: Select a string among many
+- UI Mode: Dropdown list (no inline help, but more compact UI)
+- Options
+  - Display Name: (name)
+  - Value: (name)
+
+  - name:
+    - (empty)
+    - modules/ve-mw/test/browser/
+    - tests/acceptance/
+    - tests/browser/
+
+## Jelly-based transformation
+
+- Property
+  - Transformer: Jelly-based transformation
+  - Script, from (site)/job/(job)/config.xml
+
+--
+
+    <?xml version='1.0' encoding='UTF-8'?>
+    <project>
+      <actions/>
+      <description></description>
+      <logRotator>
+        <daysToKeep>60</daysToKeep>
+        <numToKeep>-1</numToKeep>
+        <artifactDaysToKeep>-1</artifactDaysToKeep>
+        <artifactNumToKeep>20</artifactNumToKeep>
+      </logRotator>
+      <keepDependencies>false</keepDependencies>
+      <properties>
+        <nectar.plugins.rbac.groups.JobProxyGroupContainer>
+          <groups/>
+        </nectar.plugins.rbac.groups.JobProxyGroupContainer>
+        <com.cloudbees.jenkins.plugins.PublicKey/>
+        <com.cloudbees.plugins.deployer.DeployNowJobProperty>
+          <oneClickDeploy>false</oneClickDeploy>
+          <configuration>
+            <user>(jenkins)</user>
+            <account>wmf</account>
+            <deployables/>
+          </configuration>
+        </com.cloudbees.plugins.deployer.DeployNowJobProperty>
+      </properties>
+      <scm class="hudson.plugins.git.GitSCM">
+        <configVersion>2</configVersion>
+        <userRemoteConfigs>
+          <hudson.plugins.git.UserRemoteConfig>
+            <name></name>
+            <refspec></refspec>
+            <url>${REPOSITORY_URL}</url>
+          </hudson.plugins.git.UserRemoteConfig>
+        </userRemoteConfigs>
+        <branches>
+          <hudson.plugins.git.BranchSpec>
+            <name>${BRANCH}</name>
+          </hudson.plugins.git.BranchSpec>
+        </branches>
+        <disableSubmodules>false</disableSubmodules>
+        <recursiveSubmodules>false</recursiveSubmodules>
+        
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
+        <authorOrCommitter>false</authorOrCommitter>
+        <clean>false</clean>
+        <wipeOutWorkspace>false</wipeOutWorkspace>
+        <pruneBranches>false</pruneBranches>
+        <remotePoll>false</remotePoll>
+        <ignoreNotifyCommit>false</ignoreNotifyCommit>
+        <useShallowClone>false</useShallowClone>
+        <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
+        <gitTool>Default</gitTool>
+        <submoduleCfg class="list"/>
+        <relativeTargetDir></relativeTargetDir>
+        <reference></reference>
+        <excludedRegions></excludedRegions>
+        <excludedUsers></excludedUsers>
+        <gitConfigName></gitConfigName>
+        <gitConfigEmail></gitConfigEmail>
+        <skipTag>false</skipTag>
+        <includedRegions></includedRegions>
+        <scmName></scmName>
+      </scm>
+      <canRoam>true</canRoam>
+      <disabled>false</disabled>
+      
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
+      <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+      <triggers class="vector">
+        <hudson.triggers.TimerTrigger>
+          <spec>0 3,18 * * *</spec>
+        </hudson.triggers.TimerTrigger>
+      </triggers>
+      <concurrentBuild>false</concurrentBuild>
+      <builders>
+        <hudson.tasks.Shell>
+          <command>
+            export BROWSER_LABEL=${BROWSER_LABEL}
+            export MEDIAWIKI_URL=http://${MEDIAWIKI_URL}/wiki/
+
+            curl -s -o use-ruby 
https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/ruby/use-ruby
+            RUBY_VERSION=2.0.0-p247 \
+              source ./use-ruby
+
+            gem install bundler --no-ri --no-rdoc
+            if [ -d "${FOLDER}" ]; then cd ${FOLDER}; fi
+            bundle install
+            bundle exec ${BUNDLE_EXEC}
+          </command>
+        </hudson.tasks.Shell>
+      </builders>
+      <publishers>
+        <hudson.tasks.junit.JUnitResultArchiver>
+          <testResults>${FOLDER}reports/junit/*.xml</testResults>
+          <keepLongStdio>false</keepLongStdio>
+          <testDataPublishers/>
+        </hudson.tasks.junit.JUnitResultArchiver>
+        <hudson.tasks.Mailer>
+          <recipients>${RECIPIENTS}</recipients>
+          <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+          <sendToIndividuals>false</sendToIndividuals>
+        </hudson.tasks.Mailer>
+        <hudson.plugins.ircbot.IrcPublisher plugin="[email protected]">
+          <targets class="java.util.Collections$EmptyList"/>
+          <strategy>STATECHANGE_ONLY</strategy>
+          <notifyOnBuildStart>false</notifyOnBuildStart>
+          <notifySuspects>false</notifySuspects>
+          <notifyCulprits>false</notifyCulprits>
+          <notifyFixers>false</notifyFixers>
+          <notifyUpstreamCommitters>false</notifyUpstreamCommitters>
+          <buildToChatNotifier 
class="hudson.plugins.im.build_notify.SummaryOnlyBuildToChatNotifier" 
plugin="[email protected]"/>
+          <matrixMultiplier>ONLY_CONFIGURATIONS</matrixMultiplier>
+          <channels/>
+        </hudson.plugins.ircbot.IrcPublisher>
+      </publishers>
+      <buildWrappers/>
+      <executionStrategy 
class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
+        <runSequentially>false</runSequentially>
+      </executionStrategy>
+    </project>
+
+--
+
+## Save
+
+- Save
diff --git a/docs/view.md b/docs/view.md
new file mode 100644
index 0000000..d56ec28
--- /dev/null
+++ b/docs/view.md
@@ -0,0 +1,11 @@
+# Create new view
+
+- https://wmf.ci.cloudbees.com/newView
+  - View name: (name)
+  - List View
+  - OK
+
+- https://wmf.ci.cloudbees.com/view/r-uls/configure
+  - Use a regular expression to include jobs into the view: .*STRING.*
+    - replace STRING with a string
+  - OK

-- 
To view, visit https://gerrit.wikimedia.org/r/90535
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I950c365b245181a2916dc44564ffe7f1af74b4fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/selenium
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to