You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2017/06/30 14:42:51 UTC
[01/12] logging-log4net git commit: Added a first jenkinsfile that
does echo on a windows node.
Repository: logging-log4net
Updated Branches:
refs/heads/develop 8ba06aaad -> c4afbb533
Added a first jenkinsfile that does echo on a windows node.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/cb03eeed
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/cb03eeed
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/cb03eeed
Branch: refs/heads/develop
Commit: cb03eeede4d231f2bd89bbf71941df3f90836b84
Parents: 8ba06aa
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 10:58:58 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 10:58:58 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/cb03eeed/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..02e6c9f
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+node('windows')
+{
+ dir('build')
+ {
+ stage('Checkout')
+ {
+ echo "checkout"
+ checkout scm
+ }
+ stage('Build')
+ {
+ echo "build"
+ }
+ }
+}
+
[09/12] logging-log4net git commit: Trying to figure out the nant
tool installation path
Posted by dp...@apache.org.
Trying to figure out the nant tool installation path
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/5ab062c8
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/5ab062c8
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/5ab062c8
Branch: refs/heads/develop
Commit: 5ab062c8964469286f84b3cf038248b1f6f3f4ad
Parents: 027f2ad
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 14:38:53 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 14:38:53 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/5ab062c8/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 8485b9c..58cdbf6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,6 +19,8 @@
node('Windows')
{
+ def NANT_LATEST=tool name: 'NAnt (latest)', type: 'hudson.tasks.NAnt$NAntInstallation'
+ echo NANT_LATEST
dir('build')
{
stage('Checkout')
@@ -28,10 +30,10 @@ node('Windows')
stage('Build')
{
- withEnv(["Path+ANT=$ANT_LATEST\\bin","ANT_HOME=$ANT_LATEST"])
+ /*withEnv(["Path+NANT=$NANT_LATEST\\bin"])
{
- bat "ant -version"
- }
+ bat "NAnt.exe -version"
+ }*/
}
}
}
[02/12] logging-log4net git commit: Changed node to windows-2012-2
Posted by dp...@apache.org.
Changed node to windows-2012-2
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/619e0d01
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/619e0d01
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/619e0d01
Branch: refs/heads/develop
Commit: 619e0d013a65832a1c54ccb1f94c7f5c8cc5844e
Parents: cb03eee
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 11:43:55 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 11:43:55 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/619e0d01/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 02e6c9f..9a593e6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,7 +17,7 @@
* under the License.
*/
-node('windows')
+node('windows-2012-2')
{
dir('build')
{
[11/12] logging-log4net git commit: Try to invoke build.cmd now that
nant.exe is in the path
Posted by dp...@apache.org.
Try to invoke build.cmd now that nant.exe is in the path
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/cc40c858
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/cc40c858
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/cc40c858
Branch: refs/heads/develop
Commit: cc40c85896179317624e2d123768319b9323d42f
Parents: cafc88d
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 14:58:52 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 14:58:52 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/cc40c858/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 50b5927..c4ee1ec 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -32,7 +32,7 @@ node('Windows')
{
withEnv(["Path+NANT=$NANT_LATEST"])
{
- bat "NAnt.exe -version"
+ bat "build.cmd"
}
}
}
[04/12] logging-log4net git commit: Added dir to get a view of the
directory structure
Posted by dp...@apache.org.
Added dir to get a view of the directory structure
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/3476d605
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/3476d605
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/3476d605
Branch: refs/heads/develop
Commit: 3476d605c5912256eb93cf02a0e9127868bc6dfc
Parents: 6446ed9
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 12:04:36 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 12:04:36 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/3476d605/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 6bfe15e..109e8fa 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -23,12 +23,12 @@ node('Windows')
{
stage('Checkout')
{
- echo "checkout"
checkout scm
}
+
stage('Build')
{
- echo "build"
+ cmd "dir"
}
}
}
[05/12] logging-log4net git commit: Fixed cmd to read as bat
Posted by dp...@apache.org.
Fixed cmd to read as bat
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/ef58a9ac
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/ef58a9ac
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/ef58a9ac
Branch: refs/heads/develop
Commit: ef58a9acaab92f8bf3279c43c27026adb55b4515
Parents: 3476d60
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 12:18:59 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 12:18:59 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/ef58a9ac/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 109e8fa..9060294 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,7 +28,7 @@ node('Windows')
stage('Build')
{
- cmd "dir"
+ bat "dir"
}
}
}
[06/12] logging-log4net git commit: Invoke build.cmd and see what
happens
Posted by dp...@apache.org.
Invoke build.cmd and see what happens
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/e6cc8700
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/e6cc8700
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/e6cc8700
Branch: refs/heads/develop
Commit: e6cc8700f79fdca318d3d078f43dc2d32ae4b22e
Parents: ef58a9a
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 12:23:32 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 12:23:32 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/e6cc8700/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 9060294..100da10 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,7 +28,7 @@ node('Windows')
stage('Build')
{
- bat "dir"
+ bat "build.cmd"
}
}
}
[12/12] logging-log4net git commit: Added stage test and added direct
invocation of nant
Posted by dp...@apache.org.
Added stage test and added direct invocation of nant
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/c4afbb53
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/c4afbb53
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/c4afbb53
Branch: refs/heads/develop
Commit: c4afbb53313c8653f0086a277ca1ad0fb6e22bf8
Parents: cc40c85
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 15:15:47 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 15:15:47 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/c4afbb53/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index c4ee1ec..60577e5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -32,7 +32,14 @@ node('Windows')
{
withEnv(["Path+NANT=$NANT_LATEST"])
{
- bat "build.cmd"
+ bat "NAnt.exe -buildfile:log4net.build"
+ }
+ }
+ stage('Test')
+ {
+ withEnv(["Path+NANT=$NANT_LATEST"])
+ {
+ bat "NAnt.exe -buildfile:tests\\nant.build"
}
}
}
[07/12] logging-log4net git commit: echo ANT_HOME
Posted by dp...@apache.org.
echo ANT_HOME
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/e62f9588
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/e62f9588
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/e62f9588
Branch: refs/heads/develop
Commit: e62f95888a410a869492d21fd443b639f142a105
Parents: e6cc870
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 13:02:22 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 13:02:22 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/e62f9588/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 100da10..2b3e7a6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,7 +28,7 @@ node('Windows')
stage('Build')
{
- bat "build.cmd"
+ bat "echo %ANT_HOME%"
}
}
}
[08/12] logging-log4net git commit: Set ant environment variable and
add ant to path
Posted by dp...@apache.org.
Set ant environment variable and add ant to path
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/027f2ad1
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/027f2ad1
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/027f2ad1
Branch: refs/heads/develop
Commit: 027f2ad130c8840bc2b3e68ac6876ae59691dc5c
Parents: e62f958
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 13:10:54 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 13:10:54 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/027f2ad1/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 2b3e7a6..8485b9c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,7 +28,10 @@ node('Windows')
stage('Build')
{
- bat "echo %ANT_HOME%"
+ withEnv(["Path+ANT=$ANT_LATEST\\bin","ANT_HOME=$ANT_LATEST"])
+ {
+ bat "ant -version"
+ }
}
}
}
[10/12] logging-log4net git commit: Hard-wired nant installation for
now
Posted by dp...@apache.org.
Hard-wired nant installation for now
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/cafc88df
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/cafc88df
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/cafc88df
Branch: refs/heads/develop
Commit: cafc88dfe0c71bd367f0ccc1af48243c3f12ec22
Parents: 5ab062c
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 14:52:33 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 14:52:33 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/cafc88df/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 58cdbf6..50b5927 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,8 +19,8 @@
node('Windows')
{
- def NANT_LATEST=tool name: 'NAnt (latest)', type: 'hudson.tasks.NAnt$NAntInstallation'
- echo NANT_LATEST
+ // TODO: find a better way to determine nant latest
+ def NANT_LATEST="F:\\jenkins\\tools\\nant\\nant-0.92\\bin"
dir('build')
{
stage('Checkout')
@@ -30,10 +30,10 @@ node('Windows')
stage('Build')
{
- /*withEnv(["Path+NANT=$NANT_LATEST\\bin"])
+ withEnv(["Path+NANT=$NANT_LATEST"])
{
bat "NAnt.exe -version"
- }*/
+ }
}
}
}
[03/12] logging-log4net git commit: Changed label to Windows
Posted by dp...@apache.org.
Changed label to Windows
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/6446ed92
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/6446ed92
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/6446ed92
Branch: refs/heads/develop
Commit: 6446ed929f3512db9e8ffb040a435e8622c953a5
Parents: 619e0d0
Author: Dominik Psenner <dp...@apache.org>
Authored: Fri Jun 30 11:53:41 2017 +0200
Committer: Dominik Psenner <dp...@apache.org>
Committed: Fri Jun 30 11:53:41 2017 +0200
----------------------------------------------------------------------
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/6446ed92/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 9a593e6..6bfe15e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,7 +17,7 @@
* under the License.
*/
-node('windows-2012-2')
+node('Windows')
{
dir('build')
{