No such DSL method 'post' found

2017-10-04 Thread Indra Gunawan
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: java.lang.NoS

Re: Pipeline DSL, IntelliJ, and maven

2017-03-02 Thread Indra Gunawan (ingunawa)
Somehow is there other IDE that can be supported. Can Jenkinsfile syntax hightlighting be supported in SublimeText and recently Visual Studio Code. Thank you On 3/2/17, 4:01 PM, "jenkinsci-users@googlegroups.com on behalf of Daniel Beck" wrote: > On 03.03.2017, at 00:12, Justin Kno

Re: How to access Jenkins server using Python Or JenkinsApi for Windows

2017-03-01 Thread Indra Gunawan (ingunawa)
HI Sujith, Are you proficient in Python? At the very least you know how to install python module the easy way using pip install right? From: on behalf of Sujith Cherukuri Reply-To: "jenkinsci-users@googlegroups.com" Date: Monday, February 27, 2017 at 9:38 PM To: Jenkins Users Subject: Re:

Re: Jenkins PR triggers a build of PR

2017-02-21 Thread Indra Gunawan (ingunawa)
The working solution we have implemented is to use Jenkins Github Pull Request Builder plugin with webhook. We let the plugin to control the webhook, ie. the Jenkins user account used by the plugin to check the github REST API would need write permission to the Github repository. That’s the m

Re: credential plugin disappears after Jenkins upgrade to 1.658

2017-02-21 Thread Indra Gunawan (ingunawa)
You set the Jenkins to shut-down mode. In plugin directory, Then you rename the credential directory to credential.bak or whatever. Delete the existing credential.jpi and credentials.hpi. Copy the backup credentials.hpi to plugin directory and restart Jenkins. Tail the Jenkins.log as Jenkins

Re: java.lang.NoSuchMethodError: No such DSL method 'salt' found among steps

2017-02-21 Thread Indra Gunawan (ingunawa)
Check first if you have installed the saltstack-plugin version that supports pipeline. Please verify that the plugin with pipeline support dependencies are met. Observe anything that might be printed out in Jenkins log file related to saltstack-plugin. -Indra From: on behalf of Rustan Capal

Re: Build project inside docker

2017-02-19 Thread Indra Gunawan (ingunawa)
What is usr/local/src/freeswitch? You missed “/” before usr. From: on behalf of Ruchir Brahmbhatt Reply-To: "jenkinsci-users@googlegroups.com" Date: Saturday, February 18, 2017 at 2:26 AM To: Jenkins Users Subject: Build project inside docker Hi, I'm trying to build a project inside docker

Re: Declarative pipeline support for tools: CMake, custom tools

2017-02-16 Thread Indra Gunawan (ingunawa)
It is not supported: https://issues.jenkins-ci.org/browse/JENKINS-34998 From: on behalf of Colin Bennett Reply-To: "jenkinsci-users@googlegroups.com" Date: Thursday, February 16, 2017 at 2:56 PM To: Jenkins Users Subject: Declarative pipeline support for tools: CMake, custom tools It seems

Re: declarative pipeline - gradle build tool not working

2017-02-16 Thread Indra Gunawan (ingunawa)
Nice to know. Thank you From: on behalf of Bill Dennis Reply-To: "jenkinsci-users@googlegroups.com" Date: Thursday, February 16, 2017 at 9:40 AM To: Jenkins Users Subject: Re: declarative pipeline - gradle build tool not working For future reference I discovered this issue is fixed by gradl

Re: declarative pipeline - gradle build tool not working

2017-02-15 Thread Indra Gunawan (ingunawa)
What is “GRADLE_LATEST”? You need to go Jenkins and install Gradle Plugin then add Gradle to the tool in Jenkins 2.x: Go to Manage Jenkins -> Global Tool Configuration -> Gradle Installation; In Jenkins 1.x: Go to Manage Jenkins -> Configure System -> Gradle For a Gradle version you install

Re: Groovy Script to Skip Installation of Plugins and Enable Slave

2017-02-15 Thread Indra Gunawan (ingunawa)
Add option ‘-Djenkins.install.runSetupWizard=false’ to the JAVA_ARGS for Jenkins start-up. From: on behalf of Vikas Kumar Reply-To: "jenkinsci-users@googlegroups.com" Date: Wednesday, February 15, 2017 at 1:38 AM To: Jenkins Users Subject: Groovy Script to Skip Installation of Plugins and E

Re: Pipeline - merge and push

2017-02-08 Thread Indra Gunawan (ingunawa)
I would recommend that you include these files in a .gitignore so they are ignored by git. -Indra From: on behalf of Sharan Basappa Reply-To: "jenkinsci-users@googlegroups.com" Date: Wednesday, February 8, 2017 at 6:27 PM To: Jenkins Users Subject: Pipeline - merge and push I have created

Re: Error with weblogic12.1.3 Integration with jenkins

2017-02-08 Thread Indra Gunawan (ingunawa)
What is that you are trying to accomplish? Please provide the steps-by-steps that led to the Java Stack Trace. Have you googled the issue to see if there is already a reported Jira issue for this weblogic deployer plugin? From: on behalf of mukul jha Reply-To: "jenkinsci-users@googlegroups.

Re: Build periodically with Parameters support

2017-02-07 Thread Indra Gunawan (ingunawa)
Please check the plugin’s Github project; there are PR for pipeline support that have yet been accepted : https://github.com/jenkinsci/parameterized-scheduler-plugin/pulls In short, it is not compatible with pipeline. From: on behalf of Sreeram Krishna Reply-To: "jenkinsci-users@googlegroup

Re: Issue with pipeline

2017-02-07 Thread Indra Gunawan (ingunawa)
Do you have the simple.csh file checked-in or not? From: on behalf of Sharan Basappa Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, February 7, 2017 at 10:15 AM To: Jenkins Users Subject: Issue with pipeline Hi All, I am having some trouble executing basic shell commands (high

Re: No way to add/remove jobs from a newly created View

2017-02-06 Thread Indra Gunawan (ingunawa)
My view only shows jobs that the user has access to: My View This view automatically displays all the jobs that the current user has an access to. You probably is thinking about “List View”: List View Shows items in a simple list format. You can choose which jobs are to be displayed in

Re: Jenkins email notificatiosn for failed build along with failed scenarios in the email body

2017-02-01 Thread Indra Gunawan (ingunawa)
Would you please post once and by the way your question has already been answered by the author of the plugin. From: on behalf of siva varma Datla Reply-To: "jenkinsci-users@googlegroups.com" Date: Wednesday, February 1, 2017 at 2:21 PM To: Jenkins Users Subject: Jenkins email notificatiosn

Re: $JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node

2017-02-01 Thread Indra Gunawan (ingunawa)
Yes, that is the expected behavior. JENKINS_HOME only matters on Jenkins master. JENKINS_HOME is the path where all metadata of Jenkins instance like plugins, jobs are stored. It is not a variable for slave. Are you the Jenkins admin such that you have administration permission on the Jenkins

Re: How do I configure redis server in jenkins?

2017-02-01 Thread Indra Gunawan (ingunawa)
Your question is too vague. If you are using pipeline, you use “sh” step to run the bash Shell script file to start and stop redis service or simply run the redis docker container. From: on behalf of Lavanya pujari Reply-To: "jenkinsci-users@googlegroups.com" Date: Wednesday, February 1, 2

Re: POSTing zip file using httpRequest in Jenkinsfile

2017-01-30 Thread Indra Gunawan (ingunawa)
Stackoverflow is your friend : http://stackoverflow.com/questions/37945370/how-to-post-json-data-in-body-with-jenkins-http-request-plugin-and-pipeline You have http-request-plugin installed on your Jenkins? From: on behalf of Christopher Burke Reply-To: "jenkinsci-users@googlegroups.com" Da

Re: How can integrate Type script with sonarQube using Jenkis

2017-01-30 Thread Indra Gunawan (ingunawa)
You are asking the wrong group for TypeScript support by SonarQube. I would suggest that you search the internet on SonarQube plugin for TypeScript file or ask the question in SonarQube group. Once you have built the TypeScript plugin and install it on your SonarQube, the configuration of Jenkin

Re: how to setup pipeline {agent} from the private Docker hub repo?

2017-01-27 Thread Indra Gunawan (ingunawa)
node("docker") { docker.withRegistry('<>', '<>') { … } } From: on behalf of Natalia Serebryakova Reply-To: "jenkinsci-users@googlegroups.com" Date: Friday, January 27, 2017 at 9:43 AM To: Jenkins Users Subject: how to setup pipeline {agent} from the private Docker hub repo? Hi I c

Re: Pipeline: wildcard for branch name

2017-01-26 Thread Indra Gunawan (ingunawa)
HI Sharan, I sent this already: You can’t use the simple git pipeline command if you want to be fancy You should use the form where you can specify more options like configuring Git SCM: checkout scm: [$class: 'GitSCM', branches: [[name: '*/test*']], userRemoteConfigs: [[url: 'git@hd1:testin

Re: groovy access to Jenkins description

2017-01-25 Thread Indra Gunawan (ingunawa)
Here you go a snippet of groovy I use to post System Message on Jenkins to post Common Maintenance Windows downtime info: import hudson.model.* def sysMessage = Hudson.instance.systemMessage def newSysMessage = sysMessage ?: "" … cmwHeader = "" if (cmwHeader != "") { newSysMessage = newSy

Re: Pipeline: wildcard for branch name

2017-01-24 Thread Indra Gunawan (ingunawa)
You can’t use the simple git pipeline command if you want to be fancy You should use the form where you can specify more options like configuring Git SCM: checkout scm: [$class: 'GitSCM', branches: [[name: '*/test*']], userRemoteConfigs: [[url: 'git@hd1:testing']]] From: on behalf of Sharan B

Re: Jenkins Configure not working after updating plugins

2017-01-23 Thread Indra Gunawan (ingunawa)
HI Cary, You need to give more detailed description about this. Which plugins did you upgrade? The clue is in the Jenkins log. -Indra From: on behalf of Cary Tsai Reply-To: "jenkinsci-users@googlegroups.com" Date: Monday, January 23, 2017 at 11:19 AM To: Jenkins Users Subject: Jenkins Co

Re: Unable to Perform Maven Release build with Github on Jenkins 2.7.X

2017-01-23 Thread Indra Gunawan (ingunawa)
Look at the error “You don't have a SNAPSHOT project in the reactor projects list. -> [Help 1]” Your pom does not have SNAPSHOT version so nothing for release plugin to convert to release version. From: on behalf of Mahendra Reply-To: "jenkinsci-users@googlegroups.com" Date: Monday, Januar

Re: Trigger job upon pull request merg into master.

2017-01-23 Thread Indra Gunawan (ingunawa)
Github does not differentiate between a merge or a push. You should disallow direct push to master by making master a protected branch. This way only Pull Request is allowed to be merged to master. From: on behalf of Isaac Eliassi Reply-To: "jenkinsci-users@googlegroups.com" Date: Sunday, J

Re: Anyone knows document about setup Jenkins master/slave in Linux

2017-01-17 Thread Indra Gunawan (ingunawa)
Jenkins works best with Linux. There are tons of information about Jenkins installation on Linux. https://jenkins.io/download/ My recommendation is to pick the installer (RPM based or Debian best) for the flavor of Linux you are using. Thank you -Indra From: on behalf of steven ylu Reply-

Re: Access Maven Metadata Plugin parameters in Jenkins pipeline Groovy script

2017-01-16 Thread Indra Gunawan (ingunawa)
? From: on behalf of Timo Weber Reply-To: "jenkinsci-users@googlegroups.com" Date: Monday, January 16, 2017 at 10:41 AM To: Jenkins Users Subject: Re: Access Maven Metadata Plugin parameters in Jenkins pipeline Groovy script Just found your question because I have exactly the same problem.

Re: Maven Release Plugin Configuration issue?

2017-01-13 Thread Indra Gunawan (ingunawa)
Look up your component pom.xml, or parent pom if the maven-release-plugin is defined with dependency on SVN related plugin like “com.google.code.maven-scm-provider-svnjava” From: on behalf of Yaron Benjamin Reply-To: "jenkinsci-users@googlegroups.com" Date: Friday, January 13, 2017 at 2:00 P

Re: Docker-compose plugins

2017-01-13 Thread Indra Gunawan (ingunawa)
StackOverflow is your friend. http://stackoverflow.com/questions/37214628/does-jenkins-pipeline-plug-in-support-docker-compose You can simply run it with sh to run “docker compose” in the integration test as referred in the answer: http://rancher.com/docker-based-build-pipelines-part-1-continuo

Re: Why I get this java.io.NotSerializableException error

2017-01-13 Thread Indra Gunawan (ingunawa)
Add @NonCPS to “giveMeTest()”: @NonCPS def giveMeTest() { } On 1/13/17, 7:00 AM, "jenkinsci-users@googlegroups.com on behalf of Kristian" wrote: Hi, I am just trying to create a jenkins pipeline library and I just started with a small test script (test.groovy): ///

Re: How to trigger Jenkins build with parameters from Gitlab webhook?

2017-01-11 Thread Indra Gunawan (ingunawa)
It should be “echo MYPARAM: ${env.MYPARAM}” in pipeline From: on behalf of Mark Allison Reply-To: "jenkinsci-users@googlegroups.com" Date: Wednesday, January 11, 2017 at 2:58 PM To: Jenkins Users Subject: Re: How to trigger Jenkins build with parameters from Gitlab webhook? I have defined i

Re: Choose more than one agent at a time

2017-01-10 Thread Indra Gunawan (ingunawa)
users@googlegroups.com" Date: Tuesday, January 10, 2017 at 12:01 PM To: Jenkins Users Cc: "Indra Gunawan (ingunawa)" Subject: Re: Choose more than one agent at a time BTW, concurrency is deprecated. On Tuesday, January 10, 2017 at 11:22:48 AM UTC-8, Indra Gunawan (ingunawa) wrote: Are you sa

Re: Choose more than one agent at a time

2017-01-10 Thread Indra Gunawan (ingunawa)
Are you saying that the stages in pipeline should run on the other node? Between stages, I do not see how can you tell Jenkins to use different node in the label. Jenkins has this default tendency to use node last used too for load balancer. For multiple task in parallel, you use “parallel”. Fo

Re: Loading scripts from Workflow resources

2017-01-10 Thread Indra Gunawan (ingunawa)
In Jenkins 2.x you go to “Manage Jenkins” -> “Configure System” and configure the “Global Pipeline libraries” SCM location: [cid:image001.png@01D26B2A.893ADB60] From: on behalf of Mark Bidewell Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, January 10, 2017 at 9:57 AM To: Jenkin

Re: Get the root directory of node in Pipeline

2017-01-09 Thread Indra Gunawan (ingunawa)
How about this : import jenkins.model.* node () { def nodeName = ${env.NODE_NAME} def nodeRootPath = nodeRootDir(nodeName) ... } @NonCPS def nodeRootDir(nodeName) { for (node in Jenkins.instance.nodes) { if ( !nodeName.equals('master') &&

Re: Cannot set Git executable using Job DSL

2017-01-06 Thread Indra Gunawan (ingunawa)
From: shaneoh1980 McP Date: Friday, January 6, 2017 at 2:35 AM To: Jenkins Users Cc: "Indra Gunawan (ingunawa)" Subject: Re: Cannot set Git executable using Job DSL I should add that if I create a job using this as a seed job, the default option is still selected. On Friday

Re: Cannot set Git executable using Job DSL

2017-01-05 Thread Indra Gunawan (ingunawa)
You need to configure in “job” block not “git” block like : job(‘job’) { scm { git { … } //git } //scm configure { project -> project / scm(class: ‘hudson.plugins.git.GitSCM’) { gitTool ‘Ubuntu Git’ } //project } /

Re: Unable to see the jenkins job

2017-01-03 Thread Indra Gunawan (ingunawa)
You need to look carefully at Jenkins log and see if there is Java Exception Error for plugin it can’t load. It can be that job is using that plugin in its job config file. From: on behalf of Atul Sharma <1989atulsha...@gmail.com> Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, J

Re: Git Plugin doesn't pull from repo .git url

2016-12-20 Thread Indra Gunawan (ingunawa)
Have you added the SSH public key of the user used for cloning the github repo on Jenkins node/agent using git plugin? Have you created the Jenkins Credential using SSH private key for the user on Jenkins? Have you set the git plugin’s Credential drop-down item to this new credential that you a

Re: Jenkins plugin development issues..

2016-12-20 Thread Indra Gunawan (ingunawa)
This is not the place to ask this question. Please go to #jenkins irc channel From: on behalf of Ankush Purwar Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, December 20, 2016 at 7:41 AM To: "jenkinsci-users@googlegroups.com" Subject: Jenkins plugin development issues.. Hi, I

Re: Jenkins with Oracle

2016-12-20 Thread Indra Gunawan (ingunawa)
To OP, please do you your research first. Nobody is going to give you the answer. This is a Jenkins user mailing list. At best, the mailing list participants will be willing to answer you question if you tell them you have done your part. Do you expect people to tell you everything? From: on

Re: Hudson, Clearcase, and triggered builds not showing 'Recent Changes'

2016-12-19 Thread Indra Gunawan (ingunawa)
Are you using Hudson or Jenkins? This is mailing list for Jenkins not Hudson. Thank you From: on behalf of gowri sankar Varma Reply-To: "jenkinsci-users@googlegroups.com" Date: Monday, December 19, 2016 at 8:49 AM To: Jenkins Users Subject: Re: Hudson, Clearcase, and triggered builds not s

Re: Pipeline: How to trigger buld on URL change?

2016-12-14 Thread Indra Gunawan (ingunawa)
Please use a old freestyle job that can still use that plugin and let this job trigger your pipeline job. Otherwise please move on to https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Organization+Folder+Plugin and Jenkins 2.x From: on behalf of Greg Smith Reply-To: "jenkinsci-users@googleg

Re: github, jenkins, and releases

2016-12-14 Thread Indra Gunawan (ingunawa)
Hi Al Niessner, Are you building a maven project? Release plugin is to customize the release of your pom and project. It is not related to Github at all. What are you looking for? From: on behalf of "al.niessner" Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, December 13, 201

Re: Getting E-Mail Notification:

2016-12-14 Thread Indra Gunawan (ingunawa)
I am not sure how Travis supports git. In Jenkins Git plugin provides env variables available to Jenkins for free: Environment variables The git plugin sets several environment variables you can use in your scripts: * GIT_COMMIT - SHA of the current * GIT_BRANCH - Name of the branch cur

Re: GitHub webhook push CI issue with pipeline projects

2016-11-11 Thread Indra Gunawan (ingunawa)
The purpose of Github project field In the Jenkins Job configuration is just to make Github available in the Jenkins left-nav. On 11/10/16, 7:48 PM, "jenkinsci-users@googlegroups.com on behalf of Cory Grubbs" wrote: >Okstill doesn't solve the problem of having to have two separate >Jenkins

Re: GitHub webhook push CI issue with pipeline projects

2016-11-10 Thread Indra Gunawan (ingunawa)
The 1st job does not need poll. If you have Github plugin and have configured and installed github-webhook on the source git repository on GitHub, you enable it to trigger with Github build trigger ³Build when a change is pushed to GitHub². You can only associate the pipeline with the source repo

Re: GitHub webhook push CI issue with pipeline projects

2016-11-10 Thread Indra Gunawan (ingunawa)
You can create a job that polls for the commit/push to the application source repository. This job will then simply trigger the pipeline job. On 11/10/16, 9:55 AM, "jenkinsci-users@googlegroups.com on behalf of Cory Grubbs" wrote: >As a managed service which utilizes Jenkins for CI builds, I hav

Re: How can I find Java doc about class hudson.maven.MavenModuleSet ?

2016-11-03 Thread Indra Gunawan (ingunawa)
hudson.maven.MavenModuleSet is the "maven2/3 type" Jenkins job type. https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/MavenModuleSet.java Historically the plugin was released alongside Jenkins core releases. Since release 2.0 this plugin is released separately.

Re: *****Help Needed ASAP****

2016-11-02 Thread Indra Gunawan (ingunawa)
Check your jenkins log there should be a Exception error for the job if one or more plugins used by it can't be loaded. You have to research which Token Macro is compatible to each of the plugins you are installing/upgrading. This is an open source community supported mailing list you have to do

Re: Sending email to $DEFAULT_RECIPIENTS via Pipeline script?

2016-11-01 Thread Indra Gunawan (ingunawa)
Token from EmailExt plugin still does not work in pipeline. see: http://stackoverflow.com/questions/35793687/email-ext-and-workflow-pipeline-some-tokens-not-being-expanded From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Jim Klo mailto:jim.klo@gmail.com>> Reply-To: "jenkinsci-u

Re: ERROR fetching remote repo 'origin' from codebasehq

2016-11-01 Thread Indra Gunawan (ingunawa)
This is the error: stderr: Host key verification failed. fatal: Could not read from remote repository. You need to SSH to the node and become whatever the Jenkins user running the build on the node. You can try git clone the repo as that user and accept host key or you can add this to the $HOM

Re: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2016-10-27 Thread Indra Gunawan (ingunawa)
DOn't you need to cd to "myrepo" directory in the workspace before using "git checkout" git cli with sh? From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Oscar Vadillo mailto:oscar.vadil...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com

Re: JIRA/Stash (bitbucket server)/Jenkins setup - build kicking off unnecessarily

2016-10-21 Thread Indra Gunawan (ingunawa)
The Stash PR git ref spec is already different than the regular Git build ref spec you can't have all in 1 job/build. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of John mailto:johntest...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com

Re: JIRA/Stash (bitbucket server)/Jenkins setup - build kicking off unnecessarily

2016-10-21 Thread Indra Gunawan (ingunawa)
1.) For the "create branch directly in stash", you can have 1 job triggered with Git SCM strategy "inverse" with "master" (meaning: to trigger only when the new branch or commits are pushed to any branch except "master") 2.) For the "create pull request in stash", you need the Stash Pull Reque

Re: How to limited user to certain jobs

2016-10-05 Thread Indra Gunawan (ingunawa)
Try this ownership plugin : https://wiki.jenkins-ci.org/display/JENKINS/Ownership+Plugin From: mailto:jenkinsci-users@googlegroups.com>> on behalf of "stanley.s...@servicemax.com" mailto:stanley.s...@servicemax.com>> Reply-To: "jenkinsci-users@googlegroup

Re: Creating groovy script to configure slave node properties >> "Restrict jobs execution at node"

2016-10-04 Thread Indra Gunawan (ingunawa)
Hi Amit, The https://github.com/jenkinsci/job-restrictions-plugin/blob/master/src/main/java/com/synopsys/arc/jenkinsci/plugins/jobrestrictions/nodes/JobRestrictionProperty.java class clearly extends NodeProperty. 1. You need to instantiate a new JobRestrictionProperty class giving to it a new i

Re: Blue Ocean Problems: Cannot read property 'jenkinsConfig' of undefined

2016-09-28 Thread Indra Gunawan (ingunawa)
Have you restarted Jenkins yet before trying new plugin? From: mailto:jenkinsci-users@googlegroups.com>> on behalf of jwa mailto:jamie.as...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com" mailto:jenkinsci-users@googlegroups.com>> Date: Wednesd

Re: LDAP with Jenkins 2.0 (Jenkins 2.7.4 version to be specific)

2016-09-28 Thread Indra Gunawan (ingunawa)
Yes LDAP plugin is working fine with Jenkins 2.7.4 LTS. My case is I upgraded from 1.625.3 to 2.7.4. I kept LDAP plugin the same @ version 1.11 From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Raghu Pallikonda mailto:palli...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.co

Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread Indra Gunawan (ingunawa)
Use git submodules or git sparse checkout and you have to do it in cmd line git CLI in your Linux BuildStep instead of using "git" Jenkins plugin. http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/ From: mailto:jenkinsci-users@googlegroups.com>> on behalf of kamlesh na

Re: How to integrate Github with Jenkin in version 2.7 (for webhook to trigger builds whenever there is code checkin)?

2016-09-24 Thread Indra Gunawan (ingunawa)
Have you installed Jenkins GitHub plugin yet? Did you upgrade from 1.6XXX to 2.7? From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Sean Bigdatafun mailto:sean.bigdata...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com" mailto:j

Re: Jenkins builds being triggered despite ³Don't trigger a build on commit notifications²

2016-09-24 Thread Indra Gunawan (ingunawa)
Re: Jenkins builds being triggered despite ³Don't trigger a build on commit notifications² I didn't think about that option and it sounds like this should work exactly like I need it to be. Thanks for the suggestion. I would still like to know what "Don't trigger a build on commit noti

Re: Jenkins builds being triggered despite ³Don't trigger a build on commit notifications²

2016-09-23 Thread Indra Gunawan (ingunawa)
Or create old-style job configured to trigger on polling of repoA and it will trigger the pipeline job as "Trigger/call builds on other projects" build step. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Cyril mailto:cyril.dro...@gmail.com>> Reply-To: "jenkinsci-users@googlegro

Re: Jenkins builds being triggered despite ³Don't trigger a build on commit notifications²

2016-09-23 Thread Indra Gunawan (ingunawa)
Your best bet is to trigger the pipeline job in your SCM's post-receive hook installed on repoA. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Cyril mailto:cyril.dro...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com" mailto:jenk

Re: Jenkins builds being triggered despite ³Don't trigger a build on commit notifications²

2016-09-23 Thread Indra Gunawan (ingunawa)
If you are using "Pipeline script from SCM" and this is on repoB, the pipeline job will trigger when a change/commit pushed to repoB where the pipeline script exists. In the pipeline script, even if you are "checkout poll: true, ... From repoA" it does not matter. You should move the Pipeline s

Re: Running Jenkins jobs in command line

2016-09-22 Thread Indra Gunawan (ingunawa)
If you want your user to crash/shut down your Jenkins with a groovy script that does "System.exit(0)" then you go ahead allow CLI (run jenkins from command line) From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Bubunia Patra mailto:bubunia2000s...@gmail.com>> Reply-To: "jenkinsci

Re: Failed to connect to repository : Error performing command: git.exe ls-remote -h g...@github.com:RameshPrakash3941/DemoGitHub.git HEAD

2016-09-08 Thread Indra Gunawan (ingunawa)
? Are you being ignorant? Who is supposed to resolve your problem? DO you know how to use Git? You should check first whether you can clone your git repo on your local dev box. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Ramesh mailto:eprames...@gmail.com>> Reply-To: "je

Re: LDAP groups and Role Based Authorization no playing nice.

2016-08-17 Thread Indra Gunawan (ingunawa)
LDAP group never works with the Role Based Authorization plugin. Only the CloudBee paid version of Role based plugin combined with Folder plugin on Enterprise Jenkins are made to work with LDAP group. -Indra From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Michael Lasevich mailto

Re: Teaching an old job new tricks

2016-08-16 Thread Indra Gunawan (ingunawa)
Use the Configuration Slicing Plugin : https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin to mass assign a label to jobs that are not tied to any node all at once. -Indra From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Bruce Epstein mailto:goo...@zeusprod.co

Re: Error in setting Jenkins

2016-08-10 Thread Indra Gunawan (ingunawa)
1.) You need to download maven binaries and extract to the a partition on your slave or master if you're build on master. 2.) Next, go to Manage Jenkins -> Configure System and look up Maven -> Maven Installations... 3.) You specify the maven you just downloaded or you can select to install auto

Re: Need Info - best book , blogs to follow , good practices wrt Jenkins

2016-05-11 Thread Indra Gunawan (ingunawa)
Be resourceful. There are tons of information about Jenkins on the net. Visit the Jenkins Wiki, lookup Jenkins Conference slides, Register to Jenkins CloudBee Webinars, get the Jenkins O'Reilly ebook, and brush up on CI/CD. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of 80Vikra

Re: Jenkins Tutorials Required

2016-05-10 Thread Indra Gunawan (ingunawa)
Man... be resourceful. There are tons of information about Jenkins on the net. Visit the Jenkins Wiki, lookup Jenkins Conference slides, get the Jenkins O'Reilly ebook, and brush up on CI/CD. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Vidhyashree Govindaiah mailto:vidhyash

Re: Changing git build creds

2016-04-22 Thread Indra Gunawan (ingunawa)
Don't you need to upload the SSH public key of the build user to your github? From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Larry Martell mailto:larry.mart...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com" mailto:jenkinsci-user

Re: What is the best way to download all the Jenkins plugins along with their dependencies?

2016-04-04 Thread Indra Gunawan (ingunawa)
Argument "SOURCE" is required java -jar jenkins-cli.jar install-plugin SOURCE ... [-deploy] [-name VAL] [-restart] [--username VAL] [--password VAL] [--password-file VAL] Installs a plugin either from a file, an URL, or from update center. SOURCE : If this points to a local file, tha

Re: Best Practices with LTS Updates

2016-03-19 Thread Indra Gunawan (ingunawa)
Then don't do yum, install the Jenkins as war on Tomcat, Jetty or the embedded Jetty that comes with Jenkins. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Ashish Yadav mailto:ashish.ya...@firemon.com>> Reply-To: "jenkinsci-users@googlegroups.com

Re: is 1.65x Branch will be maintained in parallel of new 2.0 version ?

2016-03-14 Thread Indra Gunawan (ingunawa)
Read this 2.0 Wiki: https://jenkins-ci.org/2.0/ Backward Compatible Jenkins 2.0 is a drop-in replacement of the Jenkins 1.x series of releases and fully backward compatible. There is practically no reason not to upgrade once 2.0 is released. From: mailto:jenkinsci-users@googlegroups.com>> on

Re: Jenkins build fail on sonar code quality violations

2016-03-04 Thread Indra Gunawan (ingunawa)
The Build Breaker plugin version 2.0 is compatible with SonarQube 5.3: https://groups.google.com/forum/#!topic/sonarqube/TcMaZtLCGfs https://github.com/SonarQubeCommunity/sonar-build-breaker From: mailto:jenkinsci-users@googlegroups.com>> on behalf of jpd4nt mailto:jdrawn...@nationaltheatre.o

Re: Jenkins build fail on sonar code quality violations

2016-03-04 Thread Indra Gunawan (ingunawa)
Build Breaker plugin usage is discouraged? Says who? Are you reporting that it is not working starting with SonarQube 5.2? See this : http://stackoverflow.com/questions/33495949/build-breaker-plugin-with-sonarqube-5-2 StackOverflow is your friend. From: mailto:jenkinsci-users@googlegroups.com

Failed to parse POMs : MavenEmbedderException No implementation for org.apache.maven.repository.RepositorySystem was bound.

2016-02-12 Thread Indra Gunawan (ingunawa)
Suddenly in the past half-day or so, Maven2/3 Type jobs on our Jenkins instances running rather recent version LTS 1.544.3, 1.580.3 and 1.625.3 are hit with this error: Parsing POMs ERROR: Failed to parse POMs hudson.maven.MavenEmbedderException

Re: Question about gerrit trigger - Gerrit Verified Commands

2016-02-09 Thread Indra Gunawan (ingunawa)
In one of the team I enabled for Git/Gerrit, we have 1st job that is triggered by Gerrit's patchset/changeset upload event. It reports build status back to Gerrit but we intentionally set the job not to give any vote. Next we have a 2nd job that is triggered by Gerrit's "Comment is added" event

Re: lots of fun with jenkins url

2015-12-21 Thread Indra Gunawan (ingunawa)
To Max, Would you mind sharing your nginx jenkins con file? I have followed many URL on internet about proxy Jenkins with nginx but I am never able to make the ³Warning Šyour proxy is broken ..² to disappear. Thank you -Indra On 12/21/15, 10:39 AM, "jenkinsci-users@googlegroups.com on behalf of

Re: Question about automating upgrading system technics.

2015-12-19 Thread Indra Gunawan (ingunawa)
The simplest is if you are using Tomcat there is maven tomcat plugin that can deploy to the tomcat server directly. Otherwise, another simple deployment is using Ansible. The maven build includes mvn clean, install deploy to nexus and deploy to tomcat or deployment to Ansible. -Indra From:

Re: Restart an API with Jenkins

2015-12-18 Thread Indra Gunawan (ingunawa)
Does your Jenkins user have sudo permission on the VM you are running this stop/start service on? From: mailto:jenkinsci-users@googlegroups.com>> on behalf of GBANE FETIGUE mailto:beme...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com" mailto:

Re: Zero Day attack due to Apache Commons statement to widespread Java object de-serialisation vulnerability

2015-12-16 Thread Indra Gunawan (ingunawa)
using JDK 6 won¹t work anymore? Thank you -Indra On 12/16/15, 12:07 PM, "jenkinsci-users@googlegroups.com on behalf of Daniel Beck" wrote: > >On 12.12.2015, at 18:44, Indra Gunawan (ingunawa) >wrote: > >> With the Java 7 to run requirement, I want to confirm the fo

Re: Restricting execution on slaves

2015-12-13 Thread Indra Gunawan (ingunawa)
n that plugin, but it doesn't look like it can be configured globally but needs to be configured for each slave. So if I add a new slave or want to update the list, I need to do it for each slave. On Saturday, December 12, 2015 at 12:47:13 PM UTC-5, Indra Gunawan (ingunawa) wrote: Tak

Re: Restricting execution on slaves

2015-12-12 Thread Indra Gunawan (ingunawa)
Take a look at this plugin : https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin On 12/10/15, 6:01 AM, "jenkinsci-users@googlegroups.com on behalf of Jeff Storey" wrote: >Hi, I am trying to find a way to restrict who can execute jobs on >slaves in this way: >Users in a certain l

Re: Zero Day attack due to Apache Commons statement to widespread Java object de-serialisation vulnerability

2015-12-12 Thread Indra Gunawan (ingunawa)
r that means to you). >> >> Never waste a crisis. In this case, use it as the opportunity to >> upgrade your environment to Java 8 (or at least to Java 7), and to >> install the latest Jenkins long term support release (1.625.2). >> >> Mark Waite >> >

Re: jenkins advanced user right

2015-12-11 Thread Indra Gunawan (ingunawa)
my machine...) Best regards, Le mardi 1 décembre 2015 03:57:08 UTC+1, Indra Gunawan (ingunawa) a écrit : Use Cloudbee Folder, and Role based Plugin. Define specific role based on the regex of each of name of folder for projects/jobs. One category of jobs each in a separate folder. From: o

Zero Day attack due to Apache Commons statement to widespread Java object de-serialisation vulnerability

2015-12-07 Thread Indra Gunawan (ingunawa)
https://blogs.apache.org/foundation/entry/apache_commons_statement_to_widespread Building on Frohoff's tool ysoserial, Stephen Breen (@breenmachine) of Foxglove Security inspected various products like WebSphere, JBoss, Jenk

Re: disable disk usage calculation

2015-12-01 Thread Indra Gunawan (ingunawa)
cking it to not do that, and, well, it either kept doing it or just didn't work. I haven't actually played with https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Simple+Disk+Usage+Plugin yet, but I believe it's intended to address a lot of the performance problems with th

Re: disable disk usage calculation

2015-12-01 Thread Indra Gunawan (ingunawa)
Then uninstall the disk-usage plugin. I do not think it is possible to disable calculation after every build completes. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of "lvoty...@redhat.com" mailto:lvoty...@redhat.com>> Reply-To: "jenkinsci-users@googl

Re: I can get Jenkins installed on a server integrated with a GitHub Enterprise (GHE) server

2015-12-01 Thread Indra Gunawan (ingunawa)
https://wiki.jenkins-ci.org/display/JENKINS/LTS+Release+Line The “LTS” is Long Term Support Release version. It is a stable release version. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of Maria Victoria Martinez Torino mailto:victoriamartineztor...@gmail.com>> Reply-To: "jenkin

Re: jenkins advanced user right

2015-11-30 Thread Indra Gunawan (ingunawa)
Use Cloudbee Folder, and Role based Plugin. Define specific role based on the regex of each of name of folder for projects/jobs. One category of jobs each in a separate folder. From: mailto:jenkinsci-users@googlegroups.com>> on behalf of iostrym mailto:armandoo...@gmail.com>> Reply-To: "j

Re: How to change the PATH env?

2015-11-19 Thread Indra Gunawan (ingunawa)
Add your "export PATH" in /etc/sysconfig/jenkins From: mailto:jenkinsci-users@googlegroups.com>> on behalf of "stevelee1...@gmail.com" mailto:stevelee1...@gmail.com>> Reply-To: "jenkinsci-users@googlegroups.com" mailto:j

Re: Incremental Multi-Module Maven Builds

2015-11-05 Thread Indra Gunawan (ingunawa)
I am wondering are you using scm-changes-updates-maven-extension maven plugin from https://github.com/nwiechmann/scm-changes-maven-extension? Is it working with git or only meant for SVN? Are you referring to Maven2/3 Job Type¹s option: "Incremental build - only build changed modules² for "Jenkin

Re: unable to access Jenkins in Firefox and Chrome after latest browser updates because of "weak ephemeral Diffie-Hellman public key"

2015-10-29 Thread Indra Gunawan (ingunawa)
id that change your version of Java too? > >-Original Message- >From: jenkinsci-users@googlegroups.com >[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Indra Gunawan >(ingunawa) >Sent: Thursday, October 29, 2015 10:58 AM >To: jenkinsci-users@googlegroups.com &

Re: unable to access Jenkins in Firefox and Chrome after latest browser updates because of "weak ephemeral Diffie-Hellman public key"

2015-10-29 Thread Indra Gunawan (ingunawa)
HI Roger, If you upgrade to the latest LTS this issue goes away. I see this on very old instance of Jenkins running 1.455 we are still running. After upgrade to v. 1.580.3 with SSL left as is with existing .keystore, I am not seeing this anymore. -Indra On 10/28/15, 11:14 AM, "jenkinsci-users@

  1   2   >