[netbeans] branch master updated: Rework Janitor, try to use real version numbers, in the future

2023-07-11 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new fcab7a1923 Rework Janitor, try to use real version numbers, in the 
future
fcab7a1923 is described below

commit fcab7a1923361bc2db40ef1a6f85bcef183b2311
Author: Laszlo Kishalmi 
AuthorDate: Mon Jul 3 18:19:51 2023 -0700

Rework Janitor, try to use real version numbers, in the future
---
 .../src/org/netbeans/modules/janitor/Janitor.java  | 392 +
 .../modules/janitor/JanitorOptionsPanel.java   |   6 +-
 2 files changed, 254 insertions(+), 144 deletions(-)

diff --git a/platform/janitor/src/org/netbeans/modules/janitor/Janitor.java 
b/platform/janitor/src/org/netbeans/modules/janitor/Janitor.java
index 0fa2e56456..91763d194a 100644
--- a/platform/janitor/src/org/netbeans/modules/janitor/Janitor.java
+++ b/platform/janitor/src/org/netbeans/modules/janitor/Janitor.java
@@ -20,7 +20,9 @@ package org.netbeans.modules.janitor;
 
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
+import java.io.BufferedReader;
 import java.io.File;
+import java.io.FileWriter;
 import java.io.IOException;
 import java.nio.file.FileVisitResult;
 import java.nio.file.Files;
@@ -29,7 +31,6 @@ import java.nio.file.SimpleFileVisitor;
 import java.nio.file.attribute.BasicFileAttributes;
 import java.time.Duration;
 import java.time.Instant;
-import java.time.temporal.ChronoUnit;
 import java.util.HashSet;
 import java.util.LinkedList;
 import java.util.List;
@@ -37,6 +38,8 @@ import java.util.Map;
 import java.util.Set;
 import java.util.WeakHashMap;
 import java.util.concurrent.atomic.AtomicLong;
+import java.util.logging.Level;
+import java.util.logging.Logger;
 import java.util.prefs.Preferences;
 import javax.swing.Icon;
 import org.netbeans.api.annotations.common.StaticResource;
@@ -58,36 +61,31 @@ import org.openide.windows.OnShowing;
 "# {1} - the days of abandonement",
 "# {2} - the disk space can be reclaimed (in megabytes)",
 "TIT_ABANDONED_USERDIR=NetBeans {0} was last used {1} days ago.",
-
 "# {0} - the name of the abandoned cache dir.",
 "# {1} - the disk space can be reclaimed (in megabytes)",
 "TIT_ABANDONED_CACHEDIR=NetBeans cache directory {0} seems to be 
abandoned.",
-
 "# {0} - is the user directory name",
 "# {1} - the days of abandonement",
 "# {2} - the disk space can be reclaimed (in megabytes)",
 "DESC_ABANDONED_USERDIR=Remove unused data and cache directories of 
NetBeans {0}. "
-+ "Free up {2} MB of disk space.",
-
++ "Free up {2} MB of disk space.",
 "# {0} - is the cache directory name",
 "# {1} - the disk space can be reclaimed (in megabytes)",
 "DESC_ABANDONED_CACHEDIR=NetBeans could not find a user dir for cache dir 
{0}, so it is probably abandoned. "
-+ "Remove abandoned cache dir, "
-+ "free up {1} MB of disk space.",
-
++ "Remove abandoned cache dir, "
++ "free up {1} MB of disk space.",
 "TIT_CONFIRM_CLEANUP=Confirm Cleanup",
-
 "# {0} - the dirname to be cleaned up",
 "TXT_CONFIRM_CLEANUP=Remove user and cache data for NetBeans {0}?",
-
-"# {0} - the dirname to be cleaned up",
+"# {0} - the dirname to be cleaned up",
 "TXT_CONFIRM_CACHE_CLEANUP=Remove abandoned cache dir?",
-
 "# {0} - the dirname to be cleaned up",
 "LBL_CLEANUP=Removing unused/abandoned user and/or cache dirs."
 })
 public class Janitor {
 
+private static final Logger LOG = 
Logger.getLogger(Janitor.class.getName());
+
 private static final int UNUSED_DAYS = 30;
 
 public static final String PROP_JANITOR_ENABLED = "janitorEnabled"; 
//NOI18N
@@ -96,39 +94,60 @@ public class Janitor {
 
 private static final String LOGFILE_NAME = "var/log/messages.log"; //NOI18N
 private static final String ALL_CHECKSUM_NAME = 
"lastModified/all-checksum.txt"; //NOI18N
+private static final String LAST_VERSION_NAME = ".lastUsedVersion"; 
//NOI18N
+
+private static final String NB_VERSION;
+
 @StaticResource
 private static final String CLEAN_ICON = 
"org/netbeans/modules/janitor/resources/clean.gif"; //NOI18N
 
 static final RequestProcessor JANITOR_RP = new RequestProcessor("janitor", 
1); //NOI18N
 static final Map CLEANUP_TASKS = new 
WeakHashMap<>();
 
+static {
+String version = System.getProperty("netbeans.buildnumber"); //NOI18N
+if (version != null) {
+// remove git hash from the build number
+int dash = version.lastIndexOf('-');
+if (dash + 41 == version.length()) { // 40 chars for git SHA sum, 
1 for the dash
+version = version.substring(0, dash);
+}
+}
+NB_VERSION = version;
+}
+
 static void scanForJunk() {
 // Remove previously opened 

[netbeans] branch master updated (8b268263d8 -> 691f0b4480)

2023-07-11 Thread junichi11
This is an automated email from the ASF dual-hosted git repository.

junichi11 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


from 8b268263d8 Merge pull request #6150 from 
kamilkrzywanski/lambdaListeners
 new f63b8463cd Fix "Fix Imports" when the phptag is in HTML #5578
 new 75d16e8c53 Fix "Fix Imports" issue with declare statements #5578
 new 082e5a779d Fix "Fix Imports" issue with declare statements #5578
 new 691f0b4480 Merge pull request #6177 from 
junichi11/php-gh-5578-reimplement

The 8805 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../php/editor/actions/FixUsesPerformer.java   | 96 --
 .../testGH5578/declare01/testGH5578_declare01.php  | 44 ++
 .../declare01/testGH5578_declare01.php.fixUses | 46 +++
 .../testfiles/actions/testGH5578/declare02/B.php   | 24 ++
 .../testGH5578/declare02/testGH5578_declare02.php  | 35 
 .../declare02/testGH5578_declare02.php.fixUses | 37 +
 .../testGH5578/declare03/testGH5578_declare03.php  | 40 +
 .../declare03/testGH5578_declare03.php.fixUses | 42 ++
 .../testGH5578/declare04/testGH5578_declare04.php  | 39 +
 .../declare04/testGH5578_declare04.php.fixUses | 41 +
 .../testGH5578/declare05/testGH5578_declare05.php  | 39 +
 .../declare05/testGH5578_declare05.php.fixUses | 41 +
 .../actions/testGH5578/inHtml01/InHtml.php | 22 +
 .../testGH5578/inHtml01/testGH5578_inHtml01.php| 32 
 .../inHtml01/testGH5578_inHtml01.php.fixUses   | 34 
 .../php/editor/actions/FixUsesPerformerTest.java   | 42 ++
 16 files changed, 649 insertions(+), 5 deletions(-)
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare01/testGH5578_declare01.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare01/testGH5578_declare01.php.fixUses
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare02/B.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare02/testGH5578_declare02.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare02/testGH5578_declare02.php.fixUses
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare03/testGH5578_declare03.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare03/testGH5578_declare03.php.fixUses
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare04/testGH5578_declare04.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare04/testGH5578_declare04.php.fixUses
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare05/testGH5578_declare05.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/declare05/testGH5578_declare05.php.fixUses
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/inHtml01/InHtml.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/inHtml01/testGH5578_inHtml01.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/actions/testGH5578/inHtml01/testGH5578_inHtml01.php.fixUses


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-jenkins-lib] branch master updated: extend timeout

2023-07-11 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new d3004d5  extend timeout
d3004d5 is described below

commit d3004d57be11a460c7be168c65ddf505909e866f
Author: Eric Barboni 
AuthorDate: Tue Jul 11 15:14:35 2023 +0200

extend timeout
---
 vars/asfMainNetBeansBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index 6647092..ca1c9d3 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -64,7 +64,7 @@ def call(Map params = [:]) {
 options {
 buildDiscarder(logRotator(numToKeepStr: '2'))
 disableConcurrentBuilds()
-timeout(time: 240, unit: 'MINUTES')
+timeout(time: 340, unit: 'MINUTES')
 }
 
 agent { node { label 'ubuntu && !nocredentials' } }


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



svn commit: r62932 - in /dev/netbeans/netbeans-maven-archetypes/netbeans-archetype: ./ netbeans-archetype-1.0.0/

2023-07-11 Thread skygo
Author: skygo
Date: Tue Jul 11 09:45:46 2023
New Revision: 62932

Log:
Apache NetBeans archetype javaee 1.0.0 preparation vote

Added:
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/

dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/

dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip
   (with props)

dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.asc

dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.sha512

Added: 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip
==
Binary file - no diff available.

Propchange: 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip
--
svn:mime-type = application/octet-stream

Added: 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.asc
==
--- 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.asc
 (added)
+++ 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.asc
 Tue Jul 11 09:45:46 2023
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEj+HCbxXgMg50C67YSiYBztqTgvMFAmStIjQACgkQSiYBztqT
+gvMNzg//YNkKIqgUJyIBHIbIJZJBwwNI1WH9c/qf5swYtEKIA1x6VbqM6XoSOq9z
+1K2FqiNeY/KuKW8Ukt3PkM8q4D0ni95xoe9Fb6i+cuZzXelTE/n/LkrKyYeAyTzt
+/1zYGz65y9NHetNhyz6r5+GkB+jJgLd8bPTurAgv48b/VehCTMrOMSI1ihsu3fay
+0nqm4kF4L2mmfFJQQv8M7KOD/3h5KywhL5umXjqSAy2nN99O+epBzTmumsJnMgu9
+deD2FPa3Afzku3t1igGsxtik/DLBDaJOf29YsrlHU/rqA2m5JXzc43HN7pdVzWP9
+MInuLAJ96t1e4ckZVHmb2ZCvVtz7PY7IM2TJ/uIGlyiPn+oEAUF3O/u3y9n1kWSv
+XNNb6wIABWHFjW/LqDSTqebHvLnevQh3DhRC3tPEgbmG/NpKxkkX7zWChWdgObCI
++rpaoKfCYp9h99//Uw7f0+2ejhnqDpx2qDBEXQWYzVOtvHCQNg6hCD68WUQm9gtV
+OyeAvrJBC4n8//OM/hk4CHDNmpvpioQjprsFAJrou7zNmrLcdNy2zoxcmOtVUqPg
+D3mpcq7lzeHEN6m0q7N7wicqcBIBh6xko2yuJTUiaRuH1t4G7LKMRklJHQHka5ma
+TSMtzVyYdIVvKsr3fZGdCpKjkTg210RE+kOWYXpAX2PmrEAKUco=
+=pZT3
+-END PGP SIGNATURE-

Added: 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.sha512
==
--- 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.sha512
 (added)
+++ 
dev/netbeans/netbeans-maven-archetypes/netbeans-archetype/netbeans-archetype-1.0.0/netbeans-archetype-parent-1.0.0-source-release.zip.sha512
 Tue Jul 11 09:45:46 2023
@@ -0,0 +1 @@
+2b843d5c44e48124331a134ca612d320a7a83038bab4c7d1fdb8f10480561824877e372f44e98725ce84f1e67f1c83f609b914c333eda2023e6a44cfef2334c5
  netbeans-archetype-parent-1.0.0-source-release.zip



-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-mavenutils-archetypes] branch master updated: [maven-release-plugin] prepare for next development iteration

2023-07-11 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-archetypes.git


The following commit(s) were added to refs/heads/master by this push:
 new fdfebed  [maven-release-plugin] prepare for next development iteration
fdfebed is described below

commit fdfebedda897a8d8a918c626cb7cd2f4be359094
Author: Eric Barboni 
AuthorDate: Tue Jul 11 11:34:05 2023 +0200

[maven-release-plugin] prepare for next development iteration
---
 netbeans-jakartaee-war-archetype/pom.xml | 2 +-
 pom.xml  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/netbeans-jakartaee-war-archetype/pom.xml 
b/netbeans-jakartaee-war-archetype/pom.xml
index 66dfaaa..7f75937 100644
--- a/netbeans-jakartaee-war-archetype/pom.xml
+++ b/netbeans-jakartaee-war-archetype/pom.xml
@@ -24,7 +24,7 @@ under the License.
 
 org.apache.netbeans.archetypes
 netbeans-archetype-parent
-1.0.0
+1.0.1-SNAPSHOT
 
 netbeans-jakartaee-war-archetype
 maven-archetype
diff --git a/pom.xml b/pom.xml
index 75ed1d1..734d4c5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@ under the License.
 
 org.apache.netbeans.archetypes
 netbeans-archetype-parent
-1.0.0
+1.0.1-SNAPSHOT
 pom
 
 Apache NetBeans Maven Archetypes
@@ -46,7 +46,7 @@ under the License.
 
scm:git:https://github.com/apache/netbeans-mavenutils-archetypes.git
 
scm:git:https://github.com/apache/netbeans-mavenutils-archetypes.git
 https://github.com/apache/netbeans-mavenutils-archetyp
-  netbeans-archetype-parent-1.0.0
+  HEAD
   
 
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-mavenutils-archetypes] annotated tag netbeans-archetype-parent-1.0.0 updated (ee992a5 -> a9064b3)

2023-07-11 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a change to annotated tag netbeans-archetype-parent-1.0.0
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-archetypes.git


*** WARNING: tag netbeans-archetype-parent-1.0.0 was modified! ***

from ee992a5  (commit)
  to a9064b3  (tag)
 tagging ee992a55136fbf6b2d196892e5bb24fb515211cb (commit)
  by Eric Barboni
  on Tue Jul 11 11:34:03 2023 +0200

- Log -
[maven-release-plugin] copy for tag netbeans-archetype-parent-1.0.0
---


No new revisions were added by this update.

Summary of changes:


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-mavenutils-archetypes] branch master updated (338c9bf -> ee992a5)

2023-07-11 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a change to branch master
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-archetypes.git


from 338c9bf  parent pom v4
 add ee992a5  [maven-release-plugin] prepare release 
netbeans-archetype-parent-1.0.0

No new revisions were added by this update.

Summary of changes:
 netbeans-jakartaee-war-archetype/pom.xml | 2 +-
 pom.xml  | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-jenkins-lib] branch master updated: mitigate credentials issues

2023-07-11 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new c2d792b  mitigate credentials issues
c2d792b is described below

commit c2d792b1960de569abf4606e96d5db7b42c441f2
Author: Eric Barboni 
AuthorDate: Tue Jul 11 10:56:35 2023 +0200

mitigate credentials issues
---
 vars/asfStandardBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
index d2d3160..1da546d 100644
--- a/vars/asfStandardBuild.groovy
+++ b/vars/asfStandardBuild.groovy
@@ -54,7 +54,7 @@ def call(Map params = [:]) {
}
 stages{
 stage("Build with xvfb") {
-agent { node { label 'ubuntu' } }
+agent { node { label 'ubuntu && !nocredentials' } }
 options { timeout(time: 120, unit: 'MINUTES') }
 when {expression {
 return xvfb
@@ -67,7 +67,7 @@ def call(Map params = [:]) {
 }
 }
 stage("Build") {
-agent { node { label 'ubuntu' } }
+agent { node { label 'ubuntu && !nocredentials' } }
 options { timeout(time: 120, unit: 'MINUTES') }
 when {expression {
 return !xvfb


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-jenkins-lib] branch master updated: mitigate crendentials issues

2023-07-11 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new b626987  mitigate crendentials issues
b626987 is described below

commit b626987c935c13b59ad4d84796744f462fdf8600
Author: Eric Barboni 
AuthorDate: Tue Jul 11 10:56:02 2023 +0200

mitigate crendentials issues
---
 vars/asfStandardUtilitiesBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfStandardUtilitiesBuild.groovy 
b/vars/asfStandardUtilitiesBuild.groovy
index 430af60..9e239a8 100644
--- a/vars/asfStandardUtilitiesBuild.groovy
+++ b/vars/asfStandardUtilitiesBuild.groovy
@@ -51,14 +51,14 @@ def call(Map params = [:]) {
}
 stages{
 stage("Build with default jdk (jdk8 if no parameters) ") {
-agent { node { label 'ubuntu' } }
+agent { node { label 'ubuntu && !nocredentials' } }
 options { timeout(time: 120, unit: 'MINUTES') }
 steps{
 mavenBuild( jdk, cmdline, mvnName, publishers,true)
 }
 }
 stage("Build on recent jdk") {
-agent { node { label 'ubuntu' } }
+agent { node { label 'ubuntu && !nocredentials' } }
 options { timeout(time: 120, unit: 'MINUTES') }   
 steps{
script {


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-jenkins-lib] branch master updated: mitigate credentials issues

2023-07-11 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new fe5403c  mitigate credentials issues
fe5403c is described below

commit fe5403c06763ed9f698edfe5a9d92ed414fd05dd
Author: Eric Barboni 
AuthorDate: Tue Jul 11 10:55:15 2023 +0200

mitigate credentials issues
---
 vars/asfMainNetBeansBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index eb39e7a..6647092 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -67,7 +67,7 @@ def call(Map params = [:]) {
 timeout(time: 240, unit: 'MINUTES')
 }
 
-agent { node { label 'ubuntu' } }
+agent { node { label 'ubuntu && !nocredentials' } }
 
 parameters {
 booleanParam(name: 'INSTALLERS', defaultValue: false, description: 
'Build installers?')
@@ -76,7 +76,7 @@ def call(Map params = [:]) {
 
 stages {
 stage("Preparing Variable") {
-//agent { node { label 'ubuntu' } }
+//agent { node { label 'ubuntu && !nocredentials' } }
 steps {
 script {
 // test if we can do that


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists