runs. (more logging needed I guess).
On Monday, February 16, 2015 at 4:46:50 PM UTC+1, Mark Waite wrote:
On Mon, Feb 16, 2015 at 6:22 AM, Amedee Van Gasse amedee@gmail.com
javascript: wrote:
I have this in the logs:
(** is just to obfuscate the url)
I don't understand why
I added `env | sort` as a shell script in the pre- and post build steps.
There are several GIT_* variables set, but GIT_SSH is not one of them, so
that value is blank.
So I'm probably looking in the wrong place.
On Monday, February 16, 2015 at 5:12:24 PM UTC+1, Amedee Van Gasse wrote:
Okay
)
at
net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition$DescriptorImpl.doFillValueItems(GitParameterDefinition.java:536)
... 85 more
On Monday, February 16, 2015 at 1:01:36 PM UTC+1, Amedee Van Gasse wrote:
Jenkins version: 1.593
Git Parameter Plug-In
http://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin
, Amedee Van Gasse wrote:
Jenkins version: 1.593
Git Parameter Plug-In
http://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin: 0.4.0
GIT client plugin
http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin: 1.16.1
I have a parameterized build.
My parameter is Git Parameter
On Monday, February 16, 2015 at 1:01:36 PM UTC+1, Amedee Van Gasse wrote:
Jenkins version: 1.593
Git Parameter Plug-In
http://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin: 0.4.0
GIT client plugin
http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin: 1.16.1
I have
Jenkins version: 1.593
Git Parameter Plug-In
http://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin: 0.4.0
GIT client plugin
http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin: 1.16.1
I have a parameterized build.
My parameter is Git Parameter.
Name: TAG_TO_BUILD
, 2015 at 1:01:36 PM UTC+1, Amedee Van Gasse wrote:
Jenkins version: 1.593
Git Parameter Plug-In
http://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin: 0.4.0
GIT client plugin
http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin: 1.16.1
I have a parameterized build.
My
I also have this error in Jenkins 2.7
On Tuesday, October 14, 2014 at 7:05:57 PM UTC+2, llaumgui wrote:
>
> Hi,
>
> with Jenkins 1.584 and Violations plugin 0.7.11, when I build my project
> on Jenkins, I have a successfull build, but a IllegalStateException caused
> by Violations plugins cause
I have a Bitbucket Server Project.
I am using declarative Jenkinsfiles
All branches/PRs of all repos in the Project are built if they have a
Jenkinsfile. Wonderful.
The branches/PRs are built when there is new git activity. Wonderful.
There is one repo with 2 requirements that I'm stuck on:
Can I do item 1 with lockable resources? But then wouldn't every
Jenkinsfile in all of my repos require lockable resources? So I think
that's also not the way to go but I could be wrong.
On Sunday, March 10, 2019 at 12:40:26 PM UTC+1, Amedee Van Gasse wrote:
>
> I have a Bitbucket
I have a *declarative* Jenkinsfile.
I want to have a daily build of the develop branch.
I currently have the following trigger:
triggers {
cron(env.BRANCH_NAME == 'develop' ? '@midnight' : '')
}
Now I also want to build the master branch. Not daily, but weekly.
I already know
To answer my own question:
#!/usr/bin/env groovy
def schedule = env.BRANCH_NAME.contains('master') ? '@weekly' : env.BRANCH_NAME
== 'develop' ? '@midnight' : ''
pipeline {
triggers {
cron(schedule)
}
Worked for me.
On Tuesday, July 9, 2019 at 10:34:06 AM UTC+2, Amedee Van
On Saturday, July 13, 2019 at 1:07:16 PM UTC+2, Ivan Fernandez Calvo wrote:
>
> Hi,
>
> Every branch has its own Jenkinsfile, so you can have different
> configuration on every Jenkinsfile
>
Hi Ivan,
Merge conflicts shall be avoided at all possible cost, therefor my previous
solution shall
I have a Jenkins job that is a declarative pipeline. It's URL is
/job/dnscheck/.
I started using Bitbucket projects on Jenkins, and now that Jenkinsfile is
also discovered and the same job lives at
/job/website/job/dnscheck/job/master/
I want to copy the entire history (log files etc) from
arpen/${java.net.URLEncoder.encode
branchName, 'UTF-8'}"
This works.
Moral of the story: never use spaces in your folder names!
On Tuesday, September 1, 2020 at 8:28:42 AM UTC+2 Amedee Van Gasse wrote:
> In a Jenkinsfile, to start a parameterized pipeline job from another job,
> I have this code snippet:
&
In a Jenkinsfile, to start a parameterized pipeline job from another job, I
have this code snippet:
build job: 'build-sharpen-branch', parameters: [
[$class: 'StringParameterValue', name: 'BRANCHNAME', value:
mergeBranchname]
]
This already works as expected, and it will
I have a job that makes use of Tesseract for OCR.
Tesseract runs *a lot* faster on GPU-optimized computers.
So I was thinking of running this job on an AWS EC2 instance of type P or
G, which have NVIDIA Tesla GPUs.
However, these instance types are quite expensive, and the job runs only
about 10
I'm using multibranch pipelines projects in Jenkins.
I let Jenkins index new branches.
I need Jenkins to wait until indexing of a multibranch pipeline project is
complete.
This is my current code:
def triggerScanMultibranchPipeline(projectDir, repo) {
def multibranchProject =
net/ or for you, from https://adoptopenjdk.net/)
I haven't really seriously looked at the difference between OpenJDK and
AdoptOpenJDK.
--
Amedee Van Gasse
On Friday, December 18, 2020 at 2:39:32 PM UTC+1 Mark Waite wrote:
> I use a WIndows Server 2019 ssh agent that has AdoptOpenJDK 8u275 u
is that the Oracle JDK installation executable
is just something particularly nasty that has to be worked around...
On Friday, December 18, 2020 at 7:33:18 PM UTC+1 Mark Waite wrote:
> On Fri, Dec 18, 2020 at 10:29 AM Amedee Van Gasse
> wrote:
>
>> The Oracle JDK is a requirement for
There was a thread here last month "Recommended way to setup a windows
agent nowadays?"
I have a (new) windows agent (Windows Server 2019) that is connected
through SSH, as described in that thread. It's configured through Packer
and Ansible, to avoid clickety-click Next-Next-Next-Finish.
I
Current Host Key Verification Strategy is Non Verifying Verification
Strategy.
This works, but is not secure.
The agent is created using Packer, and Ansible as provisioner, and then
started with Terraform.
This Ansible playbook uploads the files id_ed25519 and id_ed25519.pub to
the .ssh
If anyone is still going to answer this question, go ahead, but after a
month we've given up and just accept that the messages are there.
On Monday, April 19, 2021 at 3:14:02 PM UTC+2 Amedee Van Gasse wrote:
> One of the Jenkins plugins dragged in the *Checks API* as a dependency
> a
I have added an EC2 cloud with the intention of using Windows instances.
The Windows AMI is configured to use SSH connection, not WinRM.
When I provision a Windows instance, I see it starting in the AWS console,
and I see this in the Jenkins console:
May 07, 2021 5:45:42 PM INFO
dows\\Temp\\/remoting.jar -workDir
C:\Users\jenkins
HTTP ERROR 404 Not Found
URI:
/computer/EC2%20(eu-central-1%20Windows)%20-%20Windows%20(i-02435726c827f7a6a)/logText/progressiveHtml
STATUS: 404
MESSAGE: Not Found
SERVLET: Stapler
On Friday, May 7, 2021 at 6:17:34 PM UTC+2 Amedee Van G
I got this when connecting to a Windows node, how do I fix this?
[02/09/21 10:20:58] [SSH] SSH host key matches key seen previously for this
host. Connection will be allowed.
[02/09/21 10:20:58] [SSH] Authentication successful.
[02/09/21 10:20:59] [SSH] The remote user's environment is:
FYI PowerShell is the default SSH shell on this machine.
On Tuesday, February 9, 2021 at 10:27:38 AM UTC+1 Amedee Van Gasse wrote:
> I got this when connecting to a Windows node, how do I fix this?
>
> [02/09/21 10:20:58] [SSH] SSH host key matches key seen previously for
&g
Jenkins version: 2.263.3
Jenkins master: Linux
Jenkins node: Windows Server 2019
Job: multibranch pipeline with Maven build steps
Build fails with
hudson.remoting.Channel$CallSiteStackTrace: Remote call to
aws-windows-eu-central-1
at
it a while back but didn't
>> make good progress.
>>
>> On Tue, Feb 9, 2021 at 2:45 AM Amedee Van Gasse
>> wrote:
>>
>>> FYI PowerShell is the default SSH shell on this machine.
>>>
>>> On Tuesday, February 9, 2021 at 10:27:38 AM UTC+
Put this as the first line in your shell scripts:
#!/bin/bash -ex
-e exits the script immediately if a command exits with a non-zero status.
-x echos the current line in the script when it's executed.
My best guess is that an error occurs in your script, which is silently
ignored by Bash, but
, March 5, 2021 at 8:39:38 PM UTC+1 Amedee Van Gasse wrote:
> I have defined a Custom Tool Tesseract, which extracts a ZIP file.
>
> In my Scripted Pipeline, I have this code:
>
> withEnv([
> "gsExec=$gsPath",
> "compareExec=$comparePath&quo
I'm going to use dependency-check on Jenkins to check a .NET build.
I have added a Dependency-Check installation to Jenkins' Global Tool
Configuration.
I'm using an install from dl.bintray.com.
In my Jenkins Pipeline, I have:
environment {
DEPENDENCY_CHECK = tool name: 'Dependency Check',
Mittwoch, 17. Februar 2021 um 15:55:26 UTC+1:
>>>
>>>> I've used the "Delete" selection from the dropdown menu to remove
>>>> individual builds (like the disabled PR jobs that are visible on
>>>> ci.jenkins.io) and pull request job
I want to install a custom tool.
There is a checkbox "Enable Versions", and I thought, this tool may have
multiple versions some day, let's try this.
Then a very, very complicated configuration appeared, with does not match
the screenshots
on
8.0.22.jar"
del *.zip
)
It's as ugly as the night, but it works.
If anyone has an idea for a more elegant solution, please enlighten me.
On Tuesday, February 23, 2021 at 4:33:48 PM UTC+1 Amedee Van Gasse wrote:
> I'm going to use dependency-check on Jenkins to check a .NET build.
&g
You're probably mistaken in your mailing lists, this is the Jenkins mailing
list.
I thing you should ask over at https://groups.google.com/g/ansible-project
(ansible-proj...@googlegroups.com)
On Monday, February 22, 2021 at 10:31:38 AM UTC+1 sakshira...@gmail.com
wrote:
> hi all,
>
> i am new
I have defined a Custom Tool Tesseract, which extracts a ZIP file.
In my Scripted Pipeline, I have this code:
withEnv([
"gsExec=$gsPath",
"compareExec=$comparePath",
"Path+TESSERACT=${tool name: 'Tesseract', type:
'com.cloudbees.jenkins.plugins.customtools.CustomTool'}"
I have a question about https://github.com/jenkinsci/ec2-plugin. It may be
a bug, but I'd like to have confirmation before I try to find out how to
file a bug report.
In
https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/EC2Cloud.java
there is the following
I got it sorted with help on Stack
Overflow:
https://stackoverflow.com/questions/67079854/jenkins-ec2-plugin-instances-not-starting/67104641#67104641
Missing subnet.
On Wednesday, April 14, 2021 at 10:05:08 AM UTC+2 Amedee Van Gasse wrote:
> When provisioning a configured EC2 cl
One of the Jenkins plugins dragged in the *Checks API* as a dependency and
now *EVERY* build has this annoying message at the bottom:
[Checks API] No suitable checks publisher found.
This does not fail any build by itself. It's just annoying noise and I
don't want it.
And now each time a
e i checked in
> 2020)
> People been asking for a few year, but maybe the plugin should accept
> them already, hopefully only a matter of time till aws does
>
> On Tue, 13 Apr 2021 at 11:49, Amedee Van Gasse
> wrote:
> >
> > So I went ahead and submitted a pull reque
Whenever you change the value of the *Connection strategy field*, its
validation fails with: *Could not find selected connection strategy*.
It looks like the same error as described
in https://issues.jenkins.io/browse/JENKINS-61161
and https://github.com/jenkinsci/ec2-plugin/pull/538, however
$JENKINS_URL/configureClouds/
Add new cloud: *Amazon EC2*
Name: *Amazon EC2 eu-central-1*
Amazon EC2 Credentials: *AKIA...*
Region: *eu-central-1*
EC2 Key Pair's Private Key: *ubuntu*
Test connection: *success*
Advanced...
Instance Cap: *3*
No delay provisioning: *checked*
Add AMI
Description:
13, 2021 at 11:19:16 AM UTC+2 Amedee Van Gasse wrote:
> I have a question about https://github.com/jenkinsci/ec2-plugin. It may
> be a bug, but I'd like to have confirmation before I try to find out how to
> file a bug report.
>
> In
> https://github.com/jenkinsci/ec2-plugin/bl
Oh wow, my PR is merged already, I did not expect that!
On Tuesday, April 13, 2021 at 11:49:11 AM UTC+2 Amedee Van Gasse wrote:
> So I went ahead and submitted a pull request anyway:
> https://github.com/jenkinsci/ec2-plugin/pull/595
>
> I'm sure it's not all up to standards but
I wanted to share a Slack message that a colleague sent me today.
--
@here as an FYI, in the *Global Tool Configuration* on *Jenkins*, I have
renamed the *2.5.6* Groovy installer to *2.5.6-old* and added a new *2.5.6*
Groovy
installer with the download link hard-coded (
When provisioning a configured EC2 cloud (in the nodes page in Jenkins when
you hit the provision via button), I get this error:
Oops!
A problem occurred while processing the request.
Logging ID=8ead3651-3809-4a47-984c-e0e494c705bb
--
You received this message because you are subscribed to
a debugging statement.
--
Amedee
On Friday, February 12, 2021 at 11:42:12 AM UTC+1 Amedee Van Gasse wrote:
> I'm happy to report that Jenkins works fine with PowerShell 7!
>
>
> I have this in my connection log:
>
> [02/12/21 10:58:38] [SSH] SSH host key matches key seen previousl
h.exe.
Powershell legacy and Powershell Core have a different executable name,
intentionally, so they can be used side-by-side.
I hope this is useful for anyone.
--
Amedee
On Thursday, February 11, 2021 at 11:32:53 AM UTC+1 Amedee Van Gasse wrote:
> That would actually be great and very much a
Someone here at the company wrote a "System Groovy Script" that runs as a
nightly job on master.
The code of the script, all 100 lines of it, is directly in the job
configuration in the web interface.
I would like to get that code in a git repository, so that it's easy to
roll back if needed,
I do when I develop shared library for example.
>
> On Tue, Feb 16, 2021 at 1:47 PM Amedee Van Gasse
> wrote:
>
>> I am happy to report that after adding the following jars to my lib
>> folder, I no longer have errors:
>>
>> jenkins-core-2.263.3.jar
of yore from before dependency management.
I'd prefer not to have the lib folder with jars added to git.
What would be a nice dependency management ish way of doing it?
On Tuesday, February 16, 2021 at 1:08:01 PM UTC+1 Amedee Van Gasse wrote:
> Following up on my previous question about a Sys
The unfortunate part is that I still have to manually hunt down the correct
jars and add them to git, but at least I can finally start with coding!
On Tuesday, February 16, 2021 at 1:21:23 PM UTC+1 Amedee Van Gasse wrote:
> Answering my own question for at least the hudson.* and jenkins.* impo
Following up on my previous question about a System Groovy Script.
I have a .groovy file in a git repo.
I have cloned the git repo to my pc.
I have opened the directory in IntelliJ IDEA.
Now I get a lot of red text. None of the imports are found.
It looks like this:
import hudson.model.*;
I have a Bitbucket project organization folder.
Each repository inside the project is a multibranch pipeline.
A few weeks ago one of the repositories inside the project was renamed.
The old repository name is still shown in Jenkins, as disabled.
How do I remove the old repository name?
I have
d work for disabled
> organization folder jobs as well?
>
> On Wed, Feb 17, 2021 at 6:32 AM Amedee Van Gasse <
> amedee.vanga...@gmail.com> wrote:
>
>> I have a Bitbucket project organization folder.
>> Each repository inside the project is a multibranch pipeline.
dropdown menu to remove
>> individual builds (like the disabled PR jobs that are visible on
>> ci.jenkins.io) and pull request jobs. Maybe that would work for
>> disabled organization folder jobs as well?
>>
>> On Wed, Feb 17, 2021 at 6:32 AM Amedee Van Gasse
>&g
Hi,
Security question here.
Is there any reason why Jenkins would ever need to request the content of
c:\windows\system32\lsass.exe (Local Security Authority Subsystem Service)?
The endpoint protection on the Jenkins device is denying Jenkins access to
lsass.exe, and the devs are unable to
58 matches
Mail list logo