Hi
One of my colleagues is trying to get Jenkins 2 up and running with the
Bitbucket Branch Source plugin using our Bitbucket Server infrastructure.
We've run into an issue with the plugin as it appears it expects the server
URL defined in the Bitbucket endpoint configuration to be the same as
Can you set your nagios to not alert so quickly? Make it have a couple more
failures or an extra minute between checks so it goes into a soft state for
a minute first.
Why can't you write a brief downtime to the nagios.cmd file in Jenkins
first?
You could disable notifications using a curl
have a simple Jenkins deploy job (works great)
however, every time a deploy is done, app restarts , we get alert that app
is down
is there a way to have Jenkins start a deploy by disabling nagios, wait x
min,
then do the app restart? configuring downtime windows, or manually setting
on
Hi all,
I am currently dealing with very weird behaviour of my Jenkins instance. I
want to use docker containers via pipeline to build my app. But everytime I
tried even something simple like this:
node() {
stage('Build') {
docker.image('debian:stretch').inside() {
sh 'sleep 20'
}
}
Hey,
https://jenkins.io/doc/book/pipeline/syntax/#declarative-steps explains
it.
Cheers
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Its a command pattern to write jenkins pipeline code like this:
def call(body) {
def config = [:]
body.resolveStrategy = Closure.DELEGATE_FIRST
body.delegate = config
body()
Im not sure how to word this simply, but this closure get implicitly
imported and can be called by the
Sorry, meant "script" and "sh".
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the
Ewelina,
I did run slave-agent.jnlp from command line, agent started running,
however I did not have running slave pop up which give me the option from
file -> Install as a service (:
Thanks
On Friday, September 29, 2017 at 7:47:07 AM UTC-5, Ewelina Wilkosz wrote:
>
> Did you manage to
Sorry, as I sort of have an online conversation with myself.
I guess "shell" isn't the same as running something from the command line.
pipeline {
agent any
stages {
stage('ViewArchive') {
steps {
// Works
sh 'unzip -l
Thank you for the quick reply!
On Wednesday, October 4, 2017 at 2:31:40 PM UTC-4, R Tyler Croy wrote:
>
> (replies inline)
>
> On Wed, 04 Oct 2017, lv via Jenkins Users wrote:
>
> > Hi All,
> >
> > I'm one of the people maintaining the public Jenkins installation of the
> > Apache Impala
Is one preferred / better?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web
Tested again, and wasn't able to recreate the issue. Seeing stages with
other names in Jenkins now. Thanks.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hi Michael, thanks for the response, nothing in my nginx configuration
indicates any buffering explicitly one way or the other.
On Wed, Oct 4, 2017 at 3:17 PM, Michael Pailloncy <
michael.paillo...@gmail.com> wrote:
> If you run this very same command directly on the Jenkins server and
>
Interesting I check there and didn't see them. Does this mean my txt files
aren't formatted correctly? I just put a sentence in one to test.
On Monday, October 2, 2017 at 11:25:43 PM UTC-4, Robert Hales wrote:
>
> The .txt file shows up on the PipelineSyntax/Global Variables Reference
> page.
So this worked (scripted)
node {
step ([$class: 'CopyArtifact', projectName:
'Create_Infrastructure_archive']);
This doesn't break, but nothing happens (declarative).
pipeline {
agent any
stages {
stage('Build') {
steps {
script {
No, clearly it doesn't sound to be the way it should work :-)
Do you see any error/exception inside Jenkins's logs when you save your
LDAP configuration or during Jenkins startup ?
Cheers
2017-10-03 15:55 GMT+02:00 Joaquin Henriquez <
joaquin.henriq...@countercept.com>:
> Hi ppl
>
>
>
> I
If you run this very same command directly on the Jenkins server and
without reaching it through your reverse proxy, does it work ?
I'm wondering if it's not related to the configuration of your reverse
proxy. As described in this documentation
(replies inline)
On Wed, 04 Oct 2017, lv via Jenkins Users wrote:
> Hi All,
>
> I'm one of the people maintaining the public Jenkins installation of the
> Apache Impala (Incubating) project, and since it is facing the public
> internet we're particularly interested in keeping our installation
I don't know of any declarative support, but you can still wrap it in a
script{} block in declarative.
On Wednesday, October 4, 2017 at 10:27:01 AM UTC-6, dandeliondodgeball
wrote:
>
> Helpful, thanks.
>
> So there is only a scripted pipeline solution, no support for declarative,
> correct?
>
Sounds like you are trying to use Post in the wrong place - most likely in
a scripted pipeline. If you were using it correctly, but it wasn't
available, the error message would say something about an "Undefined
Section". You can't use "post" in a scripted pipeline. Instead, you have to
use a
If you're willing to experiment, a change was recently merged to the
git-client-plugin which prints a message giving the path to the reference
repo. You can download the unreleased build from
https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fgit-client-plugin/detail/master/148/artifacts
I'm not seeing any clear indication that the reference repository I am
providing is being utilized. I don't see the "--reference" argument in any
of the Git commands that are printed to the console and I am not seeing the
cache boost I would expect.
I want to use a reference repository
Hi All,
I'm one of the people maintaining the public Jenkins installation of the
Apache Impala (Incubating) project, and since it is facing the public
internet we're particularly interested in keeping our installation secure.
We are currently running LTS 2.46.3 and I'm trying to figure out
Hi,
I would like to archive build images files produced after a successful
build step/stage in Jenkins pipeline.
Is "post", the declarative pipeline syntax, the only way to have post-build
defined in Jenkins pipeline.
Somehow it is not available on the Jenkins environment I have:
is anybody out there?
my script syntax for this is
cmd = 'java -jar ~/Downloads/jenkins-cli.jar -noKeyAuth -s
https://stt-jenkins.disruptorbeam.com/ -auth
rginga:0793b086e3c9272ddeb0daff1093518c connect-node ' + params.NODENAME
st = sh(returnStatus: true, script: cmd)
On Wed,
Helpful, thanks.
So there is only a scripted pipeline solution, no support for declarative,
correct?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hi every one !
I'm preparing the migration of my Jenkins project on the Jenkins2 version
and it seems like groovy scripts are not managed the same way.
I have numerous jobs which use groovy scripts.
Some of them are very small, and "inlined" in job config.
For those scripts, current approval
Am 04.10.2017 um 15:51 schrieb Devin Nusbaum:
Do you see any errors in the logs on the Jenkins server, and is the
jenkins-cli.jar you are using from your 2.81 instance? You can download a fresh
jar from http://YOUR_HOST/jenkins/jnlpJars/jenkins-cli.jar. (If you aren’t
using the /jenkins
I see a thread happening on CLI issues. I have a different question/issue
and do not want to hijack that other discussion.
when running any cli in a pipeline script I an getting below but the
command works
*00:04:11.368* + java -jar /Users/jenkins/Downloads/jenkins-cli.jar
-noKeyAuth -s
Do you see any errors in the logs on the Jenkins server, and is the
jenkins-cli.jar you are using from your 2.81 instance? You can download a fresh
jar from http://YOUR_HOST/jenkins/jnlpJars/jenkins-cli.jar. (If you aren’t
using the /jenkins context path just
> Does that not show the "Install as a Service" menu item?
No. The command windows shows the agent is connected but there is no pop-up
with an "Install as a Service" menu item.
BR
David
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide
Sent:
That page is for DCOM agents, not JNLP agents.
The easiest method to do this is to open an administrator console and then
run the command you specified in your original email:
java -jar slave.jar -jnlpUrl
http:///computer//slave-agent.jnlp
-secret
Does that not show the "Install as a Service"
Am 04.10.2017 um 14:53 schrieb Daniel Beck:
On 4. Oct 2017, at 14:29, Riccardo Foschia
wrote:
Thanks for your answer, but there is no proxy running.
What security realm are you using?
We are using LDAP and project based matrix authorization (like
> On 4. Oct 2017, at 14:29, Riccardo Foschia
> wrote:
>
> Thanks for your answer, but there is no proxy running.
What security realm are you using?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To
Am 04.10.2017 um 14:00 schrieb Daniel Beck:
On 4. Oct 2017, at 13:50, Riccardo Foschia
wrote:
after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http protocol
but it doesn't work (SSH protocol seems to work after the upgrade).
No matter
Hi. Install slave as service is not easy :)
Look at the
https://wiki.jenkins.io/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM?
Start with "Enable Remote Registry Access".
One error will be replaced by another, but after some time you will achieve
your goal.
> On 4. Oct 2017, at 13:50, Riccardo Foschia
> wrote:
>
> after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http
> protocol but it doesn't work (SSH protocol seems to work after the upgrade).
>
> No matter which CLI command I use, after a few
Hi all,
after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http
protocol but it doesn't work (SSH protocol seems to work after the
upgrade).
No matter which CLI command I use, after a few seconds the call returns
but shows no result. E.g.
java -jar jenkins-cli.jar -s
Here follows an update of some observations and configurations I have done
to get building on Windows to work.
The Windows node is connected in Jenkins with SSH started by sshd in Cygwin.
Using this
guide:
Hi
I want to install a JNLP slave as a service in Windows 10.
If I use the 'easy' method of going to the node page, from the slave machine,
and clicking on the Launch button, the slave launches. But if I select 'File >
Install as a service' I get an exception:
Hi Carlos,
Thanks for your valuable hint.
That's worked on Ubuntu 16.04 environment since I added RBAC roles setup.
Something interesting is that before I always run in Minikube environment
without RBAC role, that still can run.
Thanks anyway.
Hong
Am Dienstag, 3. Oktober 2017 12:15:11 UTC+2
> On 4. Oct 2017, at 09:00, Eric Tan wrote:
>
> Is it possible to mix declarative and scripted pipeline syntax in one
> Jenkinsfile ?
>
https://jenkins.io/doc/book/pipeline/syntax/#script
--
You received this message because you are subscribed to the Google Groups
Hi,
Is it possible to mix declarative and scripted pipeline syntax in one
Jenkinsfile ?
For example, there is no withRun() equivalent in the declarative syntax.
https://issues.jenkins-ci.org/browse/JENKINS-41581
Thanks,
Eric
--
You received this message because you are subscribed to the
43 matches
Mail list logo