Skip to content

Instantly share code, notes, and snippets.

@nithril
Last active August 29, 2015 14:21
Show Gist options
  • Save nithril/c9bec727e22a48cc3464 to your computer and use it in GitHub Desktop.
Save nithril/c9bec727e22a48cc3464 to your computer and use it in GitHub Desktop.
Started by user anonymous
Running: Allocate node : Start
Running on master in /var/lib/jenkins/jobs/JobDsl workflow/workspace
Running: Allocate node : Body : Start
Running: Shell Script
[workspace] Running shell script
+ rm -Rf LICENSE pom.xml pom.xml.bak submodule .git
Running: Git
Cloning the remote Git repository
Cloning repository https://github.com/nithril/jenkins-jobdsl-project1.git
> git init /var/lib/jenkins/jobs/JobDsl workflow/workspace # timeout=10
Fetching upstream changes from https://github.com/nithril/jenkins-jobdsl-project1.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://github.com/nithril/jenkins-jobdsl-project1.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://github.com/nithril/jenkins-jobdsl-project1.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/nithril/jenkins-jobdsl-project1.git # timeout=10
Fetching upstream changes from https://github.com/nithril/jenkins-jobdsl-project1.git
> git -c core.askpass=true fetch --tags --progress https://github.com/nithril/jenkins-jobdsl-project1.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 52b737194cf0e678e3191986d1b5c5db1997c1d2 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 52b737194cf0e678e3191986d1b5c5db1997c1d2
> git rev-list 40e54c70cd474a7f6459f867aa45f82f6f750484 # timeout=10
Running: Shell Script
[workspace] Running shell script
+ git checkout master
Switched to a new branch 'master'
Branch master set up to track remote branch master from origin.
Running: Read file from workspace
Running: Shell Script
[workspace] Running shell script
+ find . -name pom.xml
+ xargs -I file sed -i.bak file -e s/-SNAPSHOT//
Running: Shell Script
[workspace] Running shell script
+ git commit --allow-empty -am 'Release 1.0.0'
[master 6cc97cd] Release 1.0.0
Running: Shell Script
[workspace] Running shell script
+ git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
To https://github.com/nithril/jenkins-jobdsl-project1.git
52b7371..6cc97cd master -> master
Running: Building Project 1 - Compile
Starting building project: Project 1 - Compile
Running: Building Project 1 - Test
Starting building project: Project 1 - Test
Running: Building Project 1 - Package
Starting building project: Project 1 - Package
Running: Install a tool
Running: Shell Script
[workspace] Running shell script
+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.2.2/bin/mvn versions:set -DnewVersion=2.0.0 -DgenerateBackupPoms=false
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] project1
[INFO] submodule
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building project1 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.1:set (default-cli) @ project1 ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /var/lib/jenkins/jobs/JobDsl workflow/workspace
[INFO] Processing com.nlab.svn:project1
[INFO] Updating project com.nlab.svn:project1
[INFO] from version 1.0.0 to 2.0.0
Props: {project.groupId=com.nlab.svn, project.artifactId=project1, project.version=2.0.0}
Props: {project.groupId=com.nlab.svn, project.artifactId=project1, project.version=2.0.0}
[INFO]
[INFO] Processing com.nlab.svn.project1:submodule
[INFO] Updating parent com.nlab.svn:project1
[INFO] from version 1.0.0 to 2.0.0
Props: {project.groupId=com.nlab.svn.project1, project.parent.version=2.0.0, project.parent.artifactId=project1, project.artifactId=submodule, project.version=2.0.0, project.parent.groupId=com.nlab.svn}
Props: {project.groupId=com.nlab.svn.project1, project.parent.version=2.0.0, project.parent.artifactId=project1, project.artifactId=submodule, project.version=2.0.0, project.parent.groupId=com.nlab.svn}
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] project1 .......................................... SUCCESS [ 0.398 s]
[INFO] submodule ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.681 s
[INFO] Finished at: 2015-05-14T11:41:14+01:00
[INFO] Final Memory: 11M/225M
[INFO] ------------------------------------------------------------------------
Running: Shell Script
[workspace] Running shell script
+ git commit --allow-empty -am 'Next Version 2.0.0'
[master 80c5753] Next Version 2.0.0
2 files changed, 2 insertions(+), 2 deletions(-)
Running: Shell Script
[workspace] Running shell script
+ git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
To https://github.com/nithril/jenkins-jobdsl-project1.git
6cc97cd..80c5753 master -> master
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