Re: Question about credentialsId in marathon request

2018-02-15 Thread Samuel Mutel
I found a way with "withCredentials" function ... withCredentials([ string(credentialsId: 'XX-XX-XX-XX-XX-XX', variable: 'DCOS_PRIVATE_KEY') ]) { marathon( url: 'http://XX.XX.XX.XX:8080', forceUpdate: false, credentialsId:

Question about credentialsId in marathon request

2018-02-14 Thread Samuel Mutel
Hello, In the jenkins documentation I found this way to specify the credentials in marathon deployment: credentialsId: '{"uid":"jenkins","login_endpoint":"https://leader.mesos/acs/api/v1/auth/login","scheme":"RS256","private_key":"-BEGIN RSA PRIVATE KEY-\nMIIEpAI..."}' It works fine