Created
June 11, 2015 09:16
-
-
Save uaarkoti/2fe83745d361a261a387 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started by user anonymous | |
Running: Allocate node : Start | |
Running on master in /tmp/jenkins/test/jobs/webapp-workflow/workspace | |
Running: Allocate node : Body : Start | |
Running: Git | |
Cloning the remote Git repository | |
Cloning repository https://github.com/jenkinsbyexample/workflow-plugin-pipeline-demo.git | |
> git init /tmp/jenkins/test/jobs/webapp-workflow/workspace # timeout=10 | |
Fetching upstream changes from https://github.com/jenkinsbyexample/workflow-plugin-pipeline-demo.git | |
> git --version # timeout=10 | |
> git -c core.askpass=true fetch --tags --progress https://github.com/jenkinsbyexample/workflow-plugin-pipeline-demo.git +refs/heads/*:refs/remotes/origin/* | |
> git config remote.origin.url https://github.com/jenkinsbyexample/workflow-plugin-pipeline-demo.git # timeout=10 | |
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 | |
> git config remote.origin.url https://github.com/jenkinsbyexample/workflow-plugin-pipeline-demo.git # timeout=10 | |
Fetching upstream changes from https://github.com/jenkinsbyexample/workflow-plugin-pipeline-demo.git | |
> git -c core.askpass=true fetch --tags --progress https://github.com/jenkinsbyexample/workflow-plugin-pipeline-demo.git +refs/heads/*:refs/remotes/origin/* | |
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10 | |
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 | |
Checking out Revision cb18701583e19f1876a61ead0fa61a167d6a7965 (refs/remotes/origin/master) | |
> git config core.sparsecheckout # timeout=10 | |
> git checkout -f cb18701583e19f1876a61ead0fa61a167d6a7965 | |
First time build. Skipping changelog. | |
Running: Build | |
Entering stage Build | |
Proceeding | |
Running: Shell Script | |
[workspace] Running shell script | |
+ mvn clean package | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building demo-war Maven Webapp 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ demo-war --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ demo-war --- | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] skip non existing resourceDirectory /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/src/main/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ demo-war --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ demo-war --- | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] skip non existing resourceDirectory /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ demo-war --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ demo-war --- | |
[INFO] No tests to run. | |
[INFO] | |
[INFO] --- maven-war-plugin:2.2:war (default-war) @ demo-war --- | |
[INFO] Packaging webapp | |
[INFO] Assembling webapp [demo-war] in [/private/tmp/jenkins/test/jobs/webapp-workflow/workspace/target/webapp] | |
[INFO] Processing war project | |
[INFO] Copying webapp resources [/private/tmp/jenkins/test/jobs/webapp-workflow/workspace/src/main/webapp] | |
[INFO] Webapp assembled in [21 msecs] | |
[INFO] Building war: /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/target/webapp.war | |
[INFO] WEB-INF/web.xml already added, skipping | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 1.212 s | |
[INFO] Finished at: 2015-06-11T02:03:43-07:00 | |
[INFO] Final Memory: 11M/312M | |
[INFO] ------------------------------------------------------------------------ | |
Running: Archive Artifacts | |
Running: Code Coverage | |
Entering stage Code Coverage | |
Proceeding | |
Running: Print Message | |
Using Sonar for code coverage | |
Running: QA | |
Entering stage QA | |
Proceeding | |
Running: Execute sub-workflows in parallel : Start | |
[longerTests] Running: Parallel branch: longerTests | |
[quickerTests] Running: Parallel branch: quickerTests | |
[longerTests] Running: Shell Script | |
[longerTests] [workspace] Running shell script | |
[quickerTests] Running: Shell Script | |
[quickerTests] [workspace] Running shell script | |
[longerTests] + curl --upload-file target/webapp.war 'http://admin:tomcat@localhost:8180/manager/deploy?path=/358066e6-3bc8-4cef-b9ec-fd40af4d4081&update=true' | |
[longerTests] % Total % Received % Xferd Average Speed Time Time Time Current | |
[longerTests] Dload Upload Total Spent Left Speed | |
[longerTests] | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
0 2467 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 2548 0 81 100 2467 486 14807 --:--:-- --:--:-- --:--:-- 14772 | |
[longerTests] OK - Deployed application at context path /358066e6-3bc8-4cef-b9ec-fd40af4d4081 | |
[quickerTests] + curl --upload-file target/webapp.war 'http://admin:tomcat@localhost:8180/manager/deploy?path=/5a1705ac-b3a7-48e6-a466-28d405ec8cc5&update=true' | |
[quickerTests] % Total % Received % Xferd Average Speed Time Time Time Current | |
[quickerTests] Dload Upload Total Spent Left Speed | |
[quickerTests] | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
0 2467 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 2548 0 81 100 2467 664 20241 --:--:-- --:--:-- --:--:-- 20221 | |
[quickerTests] OK - Deployed application at context path /5a1705ac-b3a7-48e6-a466-28d405ec8cc5 | |
[longerTests] Running: Shell Script | |
[longerTests] [workspace] Running shell script | |
[quickerTests] Running: Shell Script | |
[longerTests] + mvn -f sometests/pom.xml test -Durl=http://localhost:8180/358066e6-3bc8-4cef-b9ec-fd40af4d4081/ -Dduration=10 | |
[quickerTests] [workspace] Running shell script | |
[quickerTests] + mvn -f sometests/pom.xml test -Durl=http://localhost:8180/5a1705ac-b3a7-48e6-a466-28d405ec8cc5/ -Dduration=5 | |
[longerTests] [INFO] Scanning for projects... | |
[longerTests] [INFO] | |
[longerTests] [INFO] ------------------------------------------------------------------------ | |
[longerTests] [INFO] Building demo-test 1.0-SNAPSHOT | |
[longerTests] [INFO] ------------------------------------------------------------------------ | |
[longerTests] [INFO] | |
[longerTests] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ demo-test --- | |
[longerTests] [INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[longerTests] [INFO] skip non existing resourceDirectory /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/src/main/resources | |
[longerTests] [INFO] | |
[longerTests] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ demo-test --- | |
[quickerTests] [INFO] Scanning for projects... | |
[quickerTests] [INFO] | |
[quickerTests] [INFO] ------------------------------------------------------------------------ | |
[quickerTests] [INFO] Building demo-test 1.0-SNAPSHOT | |
[quickerTests] [INFO] ------------------------------------------------------------------------ | |
[quickerTests] [INFO] | |
[quickerTests] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ demo-test --- | |
[longerTests] [INFO] No sources to compile | |
[longerTests] [INFO] | |
[longerTests] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ demo-test --- | |
[longerTests] [INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[longerTests] [INFO] skip non existing resourceDirectory /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/src/test/resources | |
[longerTests] [INFO] | |
[longerTests] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ demo-test --- | |
[longerTests] [INFO] Changes detected - recompiling the module! | |
[longerTests] [INFO] Compiling 1 source file to /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/target/test-classes | |
[quickerTests] [INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[quickerTests] [INFO] skip non existing resourceDirectory /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/src/main/resources | |
[quickerTests] [INFO] | |
[quickerTests] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ demo-test --- | |
[quickerTests] [INFO] No sources to compile | |
[quickerTests] [INFO] | |
[quickerTests] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ demo-test --- | |
[quickerTests] [INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[quickerTests] [INFO] skip non existing resourceDirectory /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/src/test/resources | |
[quickerTests] [INFO] | |
[quickerTests] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ demo-test --- | |
[quickerTests] [INFO] Changes detected - recompiling the module! | |
[quickerTests] [INFO] Compiling 1 source file to /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/target/test-classes | |
[longerTests] [INFO] | |
[longerTests] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ demo-test --- | |
[longerTests] [INFO] Surefire report directory: /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/target/surefire-reports | |
[longerTests] | |
[longerTests] ------------------------------------------------------- | |
[longerTests] T E S T S | |
[longerTests] ------------------------------------------------------- | |
[longerTests] Running org.jenkinsci.plugins.workflow.demo.AppTest | |
[quickerTests] [INFO] | |
[quickerTests] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ demo-test --- | |
[quickerTests] [INFO] Surefire report directory: /private/tmp/jenkins/test/jobs/webapp-workflow/workspace/sometests/target/surefire-reports | |
[quickerTests] | |
[quickerTests] ------------------------------------------------------- | |
[quickerTests] T E S T S | |
[quickerTests] ------------------------------------------------------- | |
[quickerTests] Running org.jenkinsci.plugins.workflow.demo.AppTest | |
[quickerTests] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.528 sec | |
[quickerTests] | |
[quickerTests] Results : | |
[quickerTests] | |
[quickerTests] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 | |
[quickerTests] | |
[quickerTests] [INFO] ------------------------------------------------------------------------ | |
[quickerTests] [INFO] BUILD SUCCESS | |
[quickerTests] [INFO] ------------------------------------------------------------------------ | |
[quickerTests] [INFO] Total time: 7.664 s | |
[quickerTests] [INFO] Finished at: 2015-06-11T02:03:53-07:00 | |
[quickerTests] [INFO] Final Memory: 14M/75M | |
[quickerTests] [INFO] ------------------------------------------------------------------------ | |
[quickerTests] Running: Shell Script | |
[quickerTests] [workspace] Running shell script | |
[quickerTests] + curl 'http://admin:tomcat@localhost:8180/manager/undeploy?path=/5a1705ac-b3a7-48e6-a466-28d405ec8cc5' | |
[quickerTests] % Total % Received % Xferd Average Speed Time Time Time Current | |
[quickerTests] Dload Upload Total Spent Left Speed | |
[quickerTests] | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 83 0 83 0 0 158 0 --:--:-- --:--:-- --:--:-- 158 | |
[quickerTests] OK - Undeployed application at context path /5a1705ac-b3a7-48e6-a466-28d405ec8cc5 | |
Running: Execute sub-workflows in parallel : Body : End | |
[longerTests] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.527 sec | |
[longerTests] | |
[longerTests] Results : | |
[longerTests] | |
[longerTests] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 | |
[longerTests] | |
[longerTests] [INFO] ------------------------------------------------------------------------ | |
[longerTests] [INFO] BUILD SUCCESS | |
[longerTests] [INFO] ------------------------------------------------------------------------ | |
[longerTests] [INFO] Total time: 12.745 s | |
[longerTests] [INFO] Finished at: 2015-06-11T02:03:58-07:00 | |
[longerTests] [INFO] Final Memory: 15M/75M | |
[longerTests] [INFO] ------------------------------------------------------------------------ | |
[longerTests] Running: Shell Script | |
[longerTests] [workspace] Running shell script | |
[longerTests] + curl 'http://admin:tomcat@localhost:8180/manager/undeploy?path=/358066e6-3bc8-4cef-b9ec-fd40af4d4081' | |
[longerTests] % Total % Received % Xferd Average Speed Time Time Time Current | |
[longerTests] Dload Upload Total Spent Left Speed | |
[longerTests] | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
[longerTests] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 83 0 83 0 0 159 0 --:--:-- --:--:-- --:--:-- 159 | |
[longerTests] OK - Undeployed application at context path /358066e6-3bc8-4cef-b9ec-fd40af4d4081 | |
Running: Execute sub-workflows in parallel : Body : End | |
Running: Execute sub-workflows in parallel : End | |
Running: Capture the execution state so that it can be restarted later | |
Running: Staging | |
Entering stage Staging | |
Proceeding | |
Running: Shell Script | |
[workspace] Running shell script | |
+ curl --upload-file target/webapp.war 'http://admin:tomcat@localhost:8180/manager/deploy?path=/staging&update=true' | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 2467 0 0 100 2467 0 2446 0:00:01 0:00:01 --:--:-- 2447 | |
100 2573 0 106 100 2467 101 2359 0:00:01 0:00:01 --:--:-- 2360 | |
OK - Undeployed application at context path /staging | |
OK - Deployed application at context path /staging | |
Running: Allocate node : Body : End | |
Running: Allocate node : End | |
Running: Input | |
Does http://localhost:8180/staging/ look good? | |
Proceed or Abort | |
Running: Capture the execution state so that it can be restarted later | |
Running: Production | |
Entering stage Production | |
Proceeding | |
Running: Allocate node : Start | |
Running on master in /tmp/jenkins/test/jobs/webapp-workflow/workspace | |
Running: Allocate node : Body : Start | |
Running: Shell Script | |
[workspace] Running shell script | |
+ curl -I http://localhost:8180/staging/ | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
0 215 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
0 215 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
HTTP/1.1 200 OK | |
Server: Apache-Coyote/1.1 | |
Set-Cookie: JSESSIONID=04C69587312DBF12D9F4D51EA9CBDBEF; Path=/staging | |
Content-Type: text/html | |
Content-Length: 215 | |
Date: Thu, 11 Jun 2015 09:04:07 GMT | |
Running: Copy archived artifacts into the workspace | |
Running: Shell Script | |
[workspace] Running shell script | |
+ curl --upload-file webapp.war 'http://admin:tomcat@localhost:8180/manager/deploy?path=/production&update=true' | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 2579 0 112 100 2467 208 4587 --:--:-- --:--:-- --:--:-- 4594 | |
OK - Undeployed application at context path /production | |
OK - Deployed application at context path /production | |
Running: Print Message | |
Deployed to http://localhost:8180/production/ | |
Running: Allocate node : Body : End | |
Running: Allocate node : End | |
Running: End of Workflow | |
Finished: SUCCESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can we have separate out for each machine during parallel execution.